TreeDataGridExpanderCell
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridExpanderCell
The cell of an expander column: an IExpanderCellPresentation
model.
Members
TYPEto_refindent_propertyis_expanded_propertyshow_expander_propertyconstructnewindentis_expandedset_is_expandedshow_expander
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TreeDataGridExpanderCell>
Returns a strong reference to this object.
indent_property
fn indent_property() -> &'static DirectProperty<TreeDataGridExpanderCell, i32>
Defines the Indent property.
is_expanded_property
fn is_expanded_property() -> &'static DirectProperty<TreeDataGridExpanderCell, bool>
Defines the IsExpanded property.
show_expander_property
fn show_expander_property() -> &'static DirectProperty<TreeDataGridExpanderCell, bool>
Defines the ShowExpander property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
indent
fn indent(self: &Self) -> i32
The indent level of the cell's row.
is_expanded
fn is_expanded(self: &Self) -> bool
Whether the row is expanded. Setting it expands or collapses the row through the model.
set_is_expanded
fn set_is_expanded(self: &Self, value: bool)
show_expander
fn show_expander(self: &Self) -> bool
Whether the expander is shown.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTreeDataGridCellImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtControlImplExtDerefUpcast<T>Upcast<TreeDataGridExpanderCell>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplVisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplTreeDataGridCellImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.