FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ITreeDataGridSourceSupport

    trait · ferroui-controls-treedatagrid · v0.5.0

    trait ITreeDataGridSourceSupport: ITreeDataGridSelectionFactory
    

    The typed operations on a source type: the selections it can create and the changes of its column list, which the untyped source contract does not expose (model.Columns as INotifyCollectionChanged).

    View source

    Members

    add_columns_changed

    fn add_columns_changed(self: &Self, source: &Rc<dyn ITreeDataGridSource>, handler: Rc<dyn Fn() -> ()>) -> Option<u64>
    

    Subscribes handler to the changes of the columns of source; None when source is not of the type.

    Source

    remove_columns_changed

    fn remove_columns_changed(self: &Self, source: &Rc<dyn ITreeDataGridSource>, token: u64)
    

    Ends a subscription of add_columns_changed.

    Source

    Availability

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