pub trait AutoCompleteBoxProps: ElementBuilder {
Show 19 methods
// Provided methods
fn caret_index<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
fn placeholder_text<M>(
self,
value: impl IntoProp<Option<String>, M>,
) -> Self { ... }
fn placeholder_foreground<M>(
self,
value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
) -> Self { ... }
fn minimum_prefix_length<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
fn minimum_populate_delay<M>(
self,
value: impl IntoProp<TimeSpan, M>,
) -> Self { ... }
fn max_drop_down_height<M>(self, value: impl IntoProp<f64, M>) -> Self { ... }
fn is_text_completion_enabled<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self { ... }
fn item_template<M>(
self,
value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
) -> Self { ... }
fn clear_selection_on_lost_focus<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self { ... }
fn is_drop_down_open<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn selected_item<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self { ... }
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self { ... }
fn filter_mode<M>(
self,
value: impl IntoProp<AutoCompleteFilterMode, M>,
) -> Self { ... }
fn items_source<M>(
self,
value: impl IntoProp<Option<ItemsSource>, M>,
) -> Self { ... }
fn max_length<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
fn inner_left_content<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self { ... }
fn inner_right_content<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self { ... }
fn on_selection_changed(
self,
handler: impl Fn(&SelectionChangedEventArgs) + 'static,
) -> Self { ... }
fn on_text_changed(
self,
handler: impl Fn(&TextChangedEventArgs) + 'static,
) -> Self { ... }
}Expand description
The properties and routed events of AutoCompleteBox.
Provided Methods§
Sourcefn caret_index<M>(self, value: impl IntoProp<i32, M>) -> Self
fn caret_index<M>(self, value: impl IntoProp<i32, M>) -> Self
Sourcefn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self
fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self
Sourcefn placeholder_foreground<M>(
self,
value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
) -> Self
fn placeholder_foreground<M>( self, value: impl IntoProp<Option<Rc<dyn IBrush>>, M>, ) -> Self
Sourcefn minimum_prefix_length<M>(self, value: impl IntoProp<i32, M>) -> Self
fn minimum_prefix_length<M>(self, value: impl IntoProp<i32, M>) -> Self
Sourcefn minimum_populate_delay<M>(self, value: impl IntoProp<TimeSpan, M>) -> Self
fn minimum_populate_delay<M>(self, value: impl IntoProp<TimeSpan, M>) -> Self
Sourcefn max_drop_down_height<M>(self, value: impl IntoProp<f64, M>) -> Self
fn max_drop_down_height<M>(self, value: impl IntoProp<f64, M>) -> Self
Sourcefn is_text_completion_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_text_completion_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn item_template<M>(
self,
value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
) -> Self
fn item_template<M>( self, value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>, ) -> Self
Sourcefn clear_selection_on_lost_focus<M>(self, value: impl IntoProp<bool, M>) -> Self
fn clear_selection_on_lost_focus<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn is_drop_down_open<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_drop_down_open<M>(self, value: impl IntoProp<bool, 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 filter_mode<M>(self, value: impl IntoProp<AutoCompleteFilterMode, M>) -> Self
fn filter_mode<M>(self, value: impl IntoProp<AutoCompleteFilterMode, M>) -> Self
Sourcefn items_source<M>(self, value: impl IntoProp<Option<ItemsSource>, M>) -> Self
fn items_source<M>(self, value: impl IntoProp<Option<ItemsSource>, M>) -> Self
Sourcefn max_length<M>(self, value: impl IntoProp<i32, M>) -> Self
fn max_length<M>(self, value: impl IntoProp<i32, M>) -> Self
Sourcefn inner_left_content<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self
fn inner_left_content<M>( self, value: impl IntoProp<Option<BoxedValue>, M>, ) -> Self
Sourcefn inner_right_content<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self
fn inner_right_content<M>( self, value: impl IntoProp<Option<BoxedValue>, M>, ) -> Self
Sourcefn on_selection_changed(
self,
handler: impl Fn(&SelectionChangedEventArgs) + 'static,
) -> Self
fn on_selection_changed( self, handler: impl Fn(&SelectionChangedEventArgs) + 'static, ) -> Self
Sourcefn on_text_changed(
self,
handler: impl Fn(&TextChangedEventArgs) + 'static,
) -> Self
fn on_text_changed( self, handler: impl Fn(&TextChangedEventArgs) + 'static, ) -> Self
Handles AutoCompleteBox::text_changed_event.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".