SelectingItemsControlProps
trait · ferroui-view · v0.5.0
trait SelectingItemsControlProps: ElementBuilder
The properties and routed events of SelectingItemsControl.
Members
auto_scroll_to_selected_itemselected_indexselected_itemselected_valueselectionselection_modeis_selectedis_text_search_enabledwrap_selectionon_is_selected_changedon_selection_changed
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.
selected_index
fn selected_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets SelectingItemsControl::selected_index_property.
selected_item
fn selected_item<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets SelectingItemsControl::selected_item_property.
selected_value
fn selected_value<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets SelectingItemsControl::selected_value_property.
selection
fn selection<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::selection::ISelectionModel>>, M>) -> Self
Sets SelectingItemsControl::selection_property.
selection_mode
fn selection_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::SelectionMode, M>) -> Self
Sets SelectingItemsControl::selection_mode_property.
is_selected
fn is_selected<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets SelectingItemsControl::is_selected_property.
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.
wrap_selection
fn wrap_selection<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets SelectingItemsControl::wrap_selection_property.
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.
on_selection_changed
fn on_selection_changed(self: Self, handler: impl Fn(&ferroui_controls::SelectionChangedEventArgs) -> () + 'static) -> Self
Handles SelectingItemsControl::selection_changed_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.