AutoCompleteBoxProps
trait · ferroui-view · v0.5.0
trait AutoCompleteBoxProps: ElementBuilder
The properties and routed events of AutoCompleteBox.
Members
caret_indexplaceholder_textplaceholder_foregroundminimum_prefix_lengthminimum_populate_delaymax_drop_down_heightis_text_completion_enableditem_templateclear_selection_on_lost_focusis_drop_down_openselected_itemtextfilter_modeitems_sourcemax_lengthinner_left_contentinner_right_contenton_selection_changedon_text_changed
caret_index
fn caret_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets AutoCompleteBox::caret_index_property.
placeholder_text
fn placeholder_text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets AutoCompleteBox::placeholder_text_property.
placeholder_foreground
fn placeholder_foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets AutoCompleteBox::placeholder_foreground_property.
minimum_prefix_length
fn minimum_prefix_length<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets AutoCompleteBox::minimum_prefix_length_property.
minimum_populate_delay
fn minimum_populate_delay<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
Sets AutoCompleteBox::minimum_populate_delay_property.
max_drop_down_height
fn max_drop_down_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets AutoCompleteBox::max_drop_down_height_property.
is_text_completion_enabled
fn is_text_completion_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets AutoCompleteBox::is_text_completion_enabled_property.
item_template
fn item_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
Sets AutoCompleteBox::item_template_property.
clear_selection_on_lost_focus
fn clear_selection_on_lost_focus<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets AutoCompleteBox::clear_selection_on_lost_focus_property.
is_drop_down_open
fn is_drop_down_open<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets AutoCompleteBox::is_drop_down_open_property.
selected_item
fn selected_item<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets AutoCompleteBox::selected_item_property.
text
fn text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets AutoCompleteBox::text_property.
filter_mode
fn filter_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::AutoCompleteFilterMode, M>) -> Self
Sets AutoCompleteBox::filter_mode_property.
items_source
fn items_source<M>(self: Self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self
Sets AutoCompleteBox::items_source_property.
max_length
fn max_length<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets AutoCompleteBox::max_length_property.
inner_left_content
fn inner_left_content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets AutoCompleteBox::inner_left_content_property.
inner_right_content
fn inner_right_content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets AutoCompleteBox::inner_right_content_property.
on_selection_changed
fn on_selection_changed(self: Self, handler: impl Fn(&ferroui_controls::SelectionChangedEventArgs) -> () + 'static) -> Self
Handles AutoCompleteBox::selection_changed_event.
on_text_changed
fn on_text_changed(self: Self, handler: impl Fn(&ferroui_controls::TextChangedEventArgs) -> () + 'static) -> Self
Handles AutoCompleteBox::text_changed_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.