# AutoSuggestBoxSuggestionChosenEventArgs

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/struct-autosuggestboxsuggestionchoseneventargs/

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

```rust
struct AutoSuggestBoxSuggestionChosenEventArgs
```

The arguments of the `SuggestionChosen` event of an [`AutoSuggestBox`](/docs/0.5.0/api/ferroui-controls/struct-autosuggestbox/) (WinUI's
`AutoSuggestBoxSuggestionChosenEventArgs`).

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

## Members

- [`selected_item`](#struct_field-selected_item)
- [`selected_item`](#function-selected_item)

<a id="struct_field-selected_item"></a>

### selected_item

```rust
selected_item: ferroui_base::BoxedValue
```

The suggestion chosen, an item of the box.

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

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

### selected_item

```rust
fn selected_item(self: &Self) -> BoxedValue
```

The suggestion chosen.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `PartialEq`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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