TreeDataGridTemplateCell
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridTemplateCell
A cell that shows a TemplateCell model.
Members
TYPEto_refcontent_propertycontent_template_propertyediting_template_propertyconstructnewcontentcontent_templateset_content_templateediting_templateset_editing_templatefinalize_unrealize
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TreeDataGridTemplateCell>
Returns a strong reference to this object.
content_property
fn content_property() -> &'static DirectProperty<TreeDataGridTemplateCell, Option<BoxedValue>>
Defines the Content property.
content_template_property
fn content_template_property() -> &'static DirectProperty<TreeDataGridTemplateCell, Option<Rc<dyn IDataTemplate>>>
Defines the ContentTemplate property.
editing_template_property
fn editing_template_property() -> &'static DirectProperty<TreeDataGridTemplateCell, Option<Rc<dyn IDataTemplate>>>
Defines the EditingTemplate property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
content
fn content(self: &Self) -> Option<BoxedValue>
The value of the cell model, the content the cell template is applied to.
content_template
fn content_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
The template that shows the content.
set_content_template
fn set_content_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
editing_template
fn editing_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
The template that edits the content.
set_editing_template
fn set_editing_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
finalize_unrealize
fn finalize_unrealize(self: &Self)
Clears the content of an unrealized cell (FinalizeUnrealize).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTreeDataGridCellImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtControlImplExtDerefUpcast<T>Upcast<TreeDataGridTemplateCell>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplLayoutableImplInteractiveImplControlImplStyledElementImplVisualImplInputElementImplTemplatedControlImplTreeDataGridCellImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.