FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ITreeDataGridRows

    trait · ferroui-controls-treedatagrid · v0.5.0

    trait ITreeDataGridRows
    

    The rows of a presentation, which realize the cells (ITreeDataGridRows).

    View source

    Members

    count

    fn count(self: &Self) -> usize
    

    Source

    get

    fn get(self: &Self, index: usize) -> RowRef
    

    Source

    get_row_at

    fn get_row_at(self: &Self, y: f64) -> (i32, f64)
    

    The index and top edge of the row at y (GetRowAt).

    Source

    model_index_to_row_index

    fn model_index_to_row_index(self: &Self, model_index: &IndexPath) -> i32
    

    Source

    row_index_to_model_index

    fn row_index_to_model_index(self: &Self, row_index: i32) -> IndexPath
    

    Source

    realize_cell

    fn realize_cell(self: &Self, column: &ColumnRef, column_index: i32, row_index: i32) -> CellRef
    

    The cell of column (at column_index) in the row at row_index.

    Source

    unrealize_cell

    fn unrealize_cell(self: &Self, cell: &CellRef, column_index: i32, row_index: i32)
    

    Source

    add_collection_changed

    fn add_collection_changed(self: &Self, handler: Rc<RowsChangedHandler>) -> u64
    

    CollectionChanged.

    Source

    remove_collection_changed

    fn remove_collection_changed(self: &Self, token: u64)
    

    Source

    try_recycle_cell

    fn try_recycle_cell(self: &Self, _column: &ColumnRef, _cell: &CellRef) -> bool
    

    Returns a cell to the pool of its column (IRecyclingCellRows.TryRecycleCell).

    Source

    as_any

    fn as_any(self: &Self) -> &dyn Any
    

    Source

    Trait implementations

    Availability

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