FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AutoCompleteBoxProps

    trait · ferroui-view · v0.5.0

    trait AutoCompleteBoxProps: ElementBuilder
    

    The properties and routed events of AutoCompleteBox.

    View source

    Members

    caret_index

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

    Sets AutoCompleteBox::caret_index_property.

    Source

    placeholder_text

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

    Sets AutoCompleteBox::placeholder_text_property.

    Source

    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.

    Source

    minimum_prefix_length

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

    Sets AutoCompleteBox::minimum_prefix_length_property.

    Source

    minimum_populate_delay

    fn minimum_populate_delay<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
    

    Sets AutoCompleteBox::minimum_populate_delay_property.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    selected_item

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

    Sets AutoCompleteBox::selected_item_property.

    Source

    text

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

    Sets AutoCompleteBox::text_property.

    Source

    filter_mode

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

    Sets AutoCompleteBox::filter_mode_property.

    Source

    items_source

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

    Sets AutoCompleteBox::items_source_property.

    Source

    max_length

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

    Sets AutoCompleteBox::max_length_property.

    Source

    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.

    Source

    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.

    Source

    on_selection_changed

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

    Handles AutoCompleteBox::selection_changed_event.

    Source

    on_text_changed

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

    Handles AutoCompleteBox::text_changed_event.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.