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§
Sourcefn get_selection_adapter_part(
this: &Self,
name_scope: &NameScopeRef,
) -> Option<Rc<dyn ISelectionAdapter>>
fn get_selection_adapter_part( this: &Self, name_scope: &NameScopeRef, ) -> Option<Rc<dyn ISelectionAdapter>>
Returns the ISelectionAdapter part, if possible. Otherwise,
None.
Sourcefn on_populating(this: &Self, e: &PopulatingEventArgs)
fn on_populating(this: &Self, e: &PopulatingEventArgs)
Raises the Populating event.
Sourcefn on_populated(this: &Self, e: &PopulatedEventArgs)
fn on_populated(this: &Self, e: &PopulatedEventArgs)
Raises the Populated event.
Sourcefn on_selection_changed(this: &Self, e: &SelectionChangedEventArgs)
fn on_selection_changed(this: &Self, e: &SelectionChangedEventArgs)
Raises the SelectionChanged event.
Sourcefn on_drop_down_opening(this: &Self, e: &CancelEventArgs)
fn on_drop_down_opening(this: &Self, e: &CancelEventArgs)
Raises the DropDownOpening event.
Sourcefn on_drop_down_opened(this: &Self)
fn on_drop_down_opened(this: &Self)
Raises the DropDownOpened event.
Sourcefn on_drop_down_closing(this: &Self, e: &CancelEventArgs)
fn on_drop_down_closing(this: &Self, e: &CancelEventArgs)
Raises the DropDownClosing event.
Sourcefn on_drop_down_closed(this: &Self)
fn on_drop_down_closed(this: &Self)
Raises the DropDownClosed event.
Sourcefn on_text_changed(this: &Self, e: &TextChangedEventArgs)
fn on_text_changed(this: &Self, e: &TextChangedEventArgs)
Raises the TextChanged event.
Sourcefn format_value(this: &Self, value: &Option<BoxedValue>) -> Option<String>
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".