FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridExpanderCell

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridExpanderCell
    

    The cell of an expander column: an IExpanderCellPresentation model.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<TreeDataGridExpanderCell>
    

    Returns a strong reference to this object.

    Source

    indent_property

    fn indent_property() -> &'static DirectProperty<TreeDataGridExpanderCell, i32>
    

    Defines the Indent property.

    Source

    is_expanded_property

    fn is_expanded_property() -> &'static DirectProperty<TreeDataGridExpanderCell, bool>
    

    Defines the IsExpanded property.

    Source

    show_expander_property

    fn show_expander_property() -> &'static DirectProperty<TreeDataGridExpanderCell, bool>
    

    Defines the ShowExpander property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    indent

    fn indent(self: &Self) -> i32
    

    The indent level of the cell's row.

    Source

    is_expanded

    fn is_expanded(self: &Self) -> bool
    

    Whether the row is expanded. Setting it expands or collapses the row through the model.

    Source

    set_is_expanded

    fn set_is_expanded(self: &Self, value: bool)
    

    Source

    show_expander

    fn show_expander(self: &Self) -> bool
    

    Whether the expander is shown.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.