# AutoCompleteBoxImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/trait-autocompleteboximpl/

**trait** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
trait AutoCompleteBoxImpl: TemplatedControlImpl + $crate::Upcast<AutoCompleteBox>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

## Members

- [`get_selection_adapter_part`](#function-get_selection_adapter_part)
- [`on_populating`](#function-on_populating)
- [`on_populated`](#function-on_populated)
- [`on_selection_changed`](#function-on_selection_changed)
- [`on_drop_down_opening`](#function-on_drop_down_opening)
- [`on_drop_down_opened`](#function-on_drop_down_opened)
- [`on_drop_down_closing`](#function-on_drop_down_closing)
- [`on_drop_down_closed`](#function-on_drop_down_closed)
- [`on_text_changed`](#function-on_text_changed)
- [`format_value`](#function-format_value)

<a id="function-get_selection_adapter_part"></a>

### get_selection_adapter_part

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

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

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_populating"></a>

### on_populating

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

Raises the `Populating` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_populated"></a>

### on_populated

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

Raises the `Populated` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_selection_changed"></a>

### on_selection_changed

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

Raises the `SelectionChanged` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_drop_down_opening"></a>

### on_drop_down_opening

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

Raises the `DropDownOpening` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_drop_down_opened"></a>

### on_drop_down_opened

```rust
fn on_drop_down_opened(this: &Self)
```

Raises the `DropDownOpened` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_drop_down_closing"></a>

### on_drop_down_closing

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

Raises the `DropDownClosing` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_drop_down_closed"></a>

### on_drop_down_closed

```rust
fn on_drop_down_closed(this: &Self)
```

Raises the `DropDownClosed` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-on_text_changed"></a>

### on_text_changed

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

Raises the `TextChanged` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

<a id="function-format_value"></a>

### format_value

```rust
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.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/auto_complete_box/auto_complete_box.rs#L299)

## Trait implementations

- [`AutoCompleteBoxImpl`](/docs/0.5.0/api/ferroui-controls/trait-autocompleteboximpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
