pub trait SelectingItemsControlProps: ElementBuilder {
// Provided methods
fn auto_scroll_to_selected_item<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self { ... }
fn selected_index<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
fn selected_item<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self { ... }
fn selected_value<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self { ... }
fn selection<M>(
self,
value: impl IntoProp<Option<Rc<dyn ISelectionModel>>, M>,
) -> Self { ... }
fn selection_mode<M>(self, value: impl IntoProp<SelectionMode, M>) -> Self { ... }
fn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn is_text_search_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn wrap_selection<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn on_is_selected_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self { ... }
fn on_selection_changed(
self,
handler: impl Fn(&SelectionChangedEventArgs) + 'static,
) -> Self { ... }
}Expand description
The properties and routed events of SelectingItemsControl.
Provided Methods§
Sourcefn auto_scroll_to_selected_item<M>(self, value: impl IntoProp<bool, M>) -> Self
fn auto_scroll_to_selected_item<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn selected_index<M>(self, value: impl IntoProp<i32, M>) -> Self
fn selected_index<M>(self, value: impl IntoProp<i32, M>) -> Self
Sourcefn selected_item<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
fn selected_item<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
Sourcefn selected_value<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
fn selected_value<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
Sourcefn selection_mode<M>(self, value: impl IntoProp<SelectionMode, M>) -> Self
fn selection_mode<M>(self, value: impl IntoProp<SelectionMode, M>) -> Self
Sourcefn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn is_text_search_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_text_search_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn wrap_selection<M>(self, value: impl IntoProp<bool, M>) -> Self
fn wrap_selection<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn on_is_selected_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self
fn on_is_selected_changed( self, handler: impl Fn(&RoutedEventArgs) + 'static, ) -> Self
Sourcefn on_selection_changed(
self,
handler: impl Fn(&SelectionChangedEventArgs) + 'static,
) -> Self
fn on_selection_changed( self, handler: impl Fn(&SelectionChangedEventArgs) + 'static, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".