FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ExpanderCell

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct ExpanderCell<M: TreeModel>
    

    ExpanderCell<TModel>.

    View source

    Members

    new

    fn new(inner: CellRef, row: Rc<dyn IExpanderRow<M>>, show_expander: Rc<ShowExpanderObservable<M>>, is_expanded: Option<Rc<dyn ICellBinding<bool>>>) -> Rc<Self>
    

    The expander cell of row around the inner column's cell inner; show_expander publishes whether the expander is shown, is_expanded the model's expansion state.

    Source

    content

    fn content(self: &Self) -> &CellRef
    

    The cell of the inner column.

    Source

    row

    fn row(self: &Self) -> &Rc<dyn IExpanderRow<M>>
    

    The row of the cell.

    Source

    show_expander

    fn show_expander(self: &Self) -> bool
    

    Whether the expander is shown.

    Source

    is_expanded

    fn is_expanded(self: &Self) -> bool
    

    Whether the row is expanded.

    Source

    set_is_expanded

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

    Source

    Trait implementations

    Availability

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