Skip to main content

AutoCompleteBoxProps

Trait AutoCompleteBoxProps 

Source
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§

Source

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

Source

fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self

Source

fn placeholder_foreground<M>( self, value: impl IntoProp<Option<Rc<dyn IBrush>>, M>, ) -> Self

Source

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

Source

fn minimum_populate_delay<M>(self, value: impl IntoProp<TimeSpan, M>) -> Self

Source

fn max_drop_down_height<M>(self, value: impl IntoProp<f64, M>) -> Self

Source

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

Source

fn item_template<M>( self, value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>, ) -> Self

Source

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

Source

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

Source

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

Source

fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self

Source

fn filter_mode<M>(self, value: impl IntoProp<AutoCompleteFilterMode, M>) -> Self

Source

fn items_source<M>(self, value: impl IntoProp<Option<ItemsSource>, M>) -> Self

Source

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

Source

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

Source

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

Source

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

Source

fn on_text_changed( self, handler: impl Fn(&TextChangedEventArgs) + 'static, ) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§