Skip to main content

AutoCompleteBoxImpl

Trait AutoCompleteBoxImpl 

Source
pub trait AutoCompleteBoxImpl: TemplatedControlImpl + Upcast<AutoCompleteBox> {
    // Provided methods
    fn get_selection_adapter_part(
        this: &Self,
        name_scope: &NameScopeRef,
    ) -> Option<Rc<dyn ISelectionAdapter>> { ... }
    fn on_populating(this: &Self, e: &PopulatingEventArgs) { ... }
    fn on_populated(this: &Self, e: &PopulatedEventArgs) { ... }
    fn on_selection_changed(this: &Self, e: &SelectionChangedEventArgs) { ... }
    fn on_drop_down_opening(this: &Self, e: &CancelEventArgs) { ... }
    fn on_drop_down_opened(this: &Self) { ... }
    fn on_drop_down_closing(this: &Self, e: &CancelEventArgs) { ... }
    fn on_drop_down_closed(this: &Self) { ... }
    fn on_text_changed(this: &Self, e: &TextChangedEventArgs) { ... }
    fn format_value(this: &Self, value: &Option<BoxedValue>) -> Option<String> { ... }
}
Expand description

The overridable members introduced by the class.

Provided Methods§

Source

fn get_selection_adapter_part( this: &Self, name_scope: &NameScopeRef, ) -> Option<Rc<dyn ISelectionAdapter>>

Returns the ISelectionAdapter part, if possible. Otherwise, None.

Source

fn on_populating(this: &Self, e: &PopulatingEventArgs)

Raises the Populating event.

Source

fn on_populated(this: &Self, e: &PopulatedEventArgs)

Raises the Populated event.

Source

fn on_selection_changed(this: &Self, e: &SelectionChangedEventArgs)

Raises the SelectionChanged event.

Source

fn on_drop_down_opening(this: &Self, e: &CancelEventArgs)

Raises the DropDownOpening event.

Source

fn on_drop_down_opened(this: &Self)

Raises the DropDownOpened event.

Source

fn on_drop_down_closing(this: &Self, e: &CancelEventArgs)

Raises the DropDownClosing event.

Source

fn on_drop_down_closed(this: &Self)

Raises the DropDownClosed event.

Source

fn on_text_changed(this: &Self, e: &TextChangedEventArgs)

Raises the TextChanged event.

Source

fn format_value(this: &Self, value: &Option<BoxedValue>) -> Option<String>

Converts the specified object to a string by using the binding specified by the ValueMemberBinding property.

Override this method to provide a custom string conversion.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§