FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SelectingItemsControlProps

    trait · ferroui-view · v0.5.0

    trait SelectingItemsControlProps: ElementBuilder
    

    The properties and routed events of SelectingItemsControl.

    View source

    Members

    auto_scroll_to_selected_item

    fn auto_scroll_to_selected_item<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets SelectingItemsControl::auto_scroll_to_selected_item_property.

    Source

    selected_index

    fn selected_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
    

    Sets SelectingItemsControl::selected_index_property.

    Source

    selected_item

    fn selected_item<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets SelectingItemsControl::selected_item_property.

    Source

    selected_value

    fn selected_value<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets SelectingItemsControl::selected_value_property.

    Source

    selection

    fn selection<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::selection::ISelectionModel>>, M>) -> Self
    

    Sets SelectingItemsControl::selection_property.

    Source

    selection_mode

    fn selection_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::SelectionMode, M>) -> Self
    

    Sets SelectingItemsControl::selection_mode_property.

    Source

    is_selected

    fn is_selected<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets SelectingItemsControl::is_selected_property.

    Source

    is_text_search_enabled

    fn is_text_search_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets SelectingItemsControl::is_text_search_enabled_property.

    Source

    wrap_selection

    fn wrap_selection<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets SelectingItemsControl::wrap_selection_property.

    Source

    on_is_selected_changed

    fn on_is_selected_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles SelectingItemsControl::is_selected_changed_event.

    Source

    on_selection_changed

    fn on_selection_changed(self: Self, handler: impl Fn(&ferroui_controls::SelectionChangedEventArgs) -> () + 'static) -> Self
    

    Handles SelectingItemsControl::selection_changed_event.

    Source

    Trait implementations

    Availability

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