FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SelectionModelSelectionChangedEventArgsOf

    struct · ferroui-controls · v0.5.0

    struct SelectionModelSelectionChangedEventArgsOf<T: PropertyValue>
    

    The arguments of the selection changed event of a selection model of items of type T.

    View source

    Members

    new

    fn new(deselected_indices: Option<Rc<dyn IReadOnlySelectionList<i32>>>, selected_indices: Option<Rc<dyn IReadOnlySelectionList<i32>>>, deselected_items: Option<Rc<dyn IReadOnlySelectionList<Option<T>>>>, selected_items: Option<Rc<dyn IReadOnlySelectionList<Option<T>>>>) -> Self
    

    Source

    deselected_indexes

    fn deselected_indexes(self: &Self) -> Rc<dyn IReadOnlySelectionList<i32>>
    

    Gets the indexes of the items that were removed from the selection.

    Source

    selected_indexes

    fn selected_indexes(self: &Self) -> Rc<dyn IReadOnlySelectionList<i32>>
    

    Gets the indexes of the items that were added to the selection.

    Source

    deselected_items

    fn deselected_items(self: &Self) -> Rc<dyn IReadOnlySelectionList<Option<T>>>
    

    Gets the items that were removed from the selection.

    Source

    selected_items

    fn selected_items(self: &Self) -> Rc<dyn IReadOnlySelectionList<Option<T>>>
    

    Gets the items that were added to the selection.

    Source

    Trait implementations

    Availability

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