FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    selection

    module · ferroui-controls-treedatagrid · v0.5.0

    module selection
    

    Selection/: how the selections of the core handle the input of the control.

    The selection models are the core's (ferroui_treedatagrid_core::selection): the row and cell selections of a source, the tree selection model, its indexes and change arguments. The reference's copies of them in the control project are not ported; nor are its classic column selection model (TreeDataGridColumnSelectionModel, ITreeDataGridColumnSelectionModel) and the product of selected columns and rows (SelectedCellIndexes), which only its classic cell selection used: the core's cell selection keeps its own selection of columns and computes the selected cells (TreeDataGridCellSelectionModel::selected_indexes), and the arguments of its changes are the core's TreeDataGridCellSelectionChangedEventArgs.

    This module holds the interactions of the control with those selections, and the typed operations the untyped control needs of a source's model type (register_tree_data_grid_model).

    View source

    Contents

    Availability

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