FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ITreeDataGridModelSupport

    trait · ferroui-controls-treedatagrid · v0.5.0

    trait ITreeDataGridModelSupport
    

    The typed operations on the selections and rows of a model type.

    View source

    Members

    as_row_selection

    fn as_row_selection(self: &Self, selection: &Rc<dyn ITreeDataGridSelection>) -> Option<Rc<dyn IUntypedRowSelection>>
    

    The selection as a row selection of the model type.

    Source

    as_cell_selection

    fn as_cell_selection(self: &Self, selection: &Rc<dyn ITreeDataGridSelection>) -> Option<Rc<dyn IUntypedCellSelection>>
    

    The selection as a cell selection of the model type.

    Source

    update_show_expander

    fn update_show_expander(self: &Self, row: &RowRef, value: bool) -> bool
    

    Sets whether a hierarchical row of the model type shows its expander (IExpanderRow<T>.UpdateShowExpander); false when the row is not one.

    Source

    clear_show_expander

    fn clear_show_expander(self: &Self, row: &RowRef)
    

    Forgets the explicit expander state of a hierarchical row (HierarchicalRow<T>.ClearShowExpander).

    Source

    Availability

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