# SelectingItemsControlProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-selectingitemscontrolprops/

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

```rust
trait SelectingItemsControlProps: ElementBuilder
```

The properties and routed events of `SelectingItemsControl`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7668)

## Members

- [`auto_scroll_to_selected_item`](#function-auto_scroll_to_selected_item)
- [`selected_index`](#function-selected_index)
- [`selected_item`](#function-selected_item)
- [`selected_value`](#function-selected_value)
- [`selection`](#function-selection)
- [`selection_mode`](#function-selection_mode)
- [`is_selected`](#function-is_selected)
- [`is_text_search_enabled`](#function-is_text_search_enabled)
- [`wrap_selection`](#function-wrap_selection)
- [`on_is_selected_changed`](#function-on_is_selected_changed)
- [`on_selection_changed`](#function-on_selection_changed)

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

### auto_scroll_to_selected_item

```rust
fn auto_scroll_to_selected_item<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `SelectingItemsControl::auto_scroll_to_selected_item_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7670)

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

### selected_index

```rust
fn selected_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
```

Sets `SelectingItemsControl::selected_index_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7675)

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

### selected_item

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

Sets `SelectingItemsControl::selected_item_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7680)

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

### selected_value

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

Sets `SelectingItemsControl::selected_value_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7685)

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

### selection

```rust
fn selection<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::selection::ISelectionModel>>, M>) -> Self
```

Sets `SelectingItemsControl::selection_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7690)

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

### selection_mode

```rust
fn selection_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::SelectionMode, M>) -> Self
```

Sets `SelectingItemsControl::selection_mode_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7695)

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

### is_selected

```rust
fn is_selected<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `SelectingItemsControl::is_selected_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7700)

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

### is_text_search_enabled

```rust
fn is_text_search_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `SelectingItemsControl::is_text_search_enabled_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7705)

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

### wrap_selection

```rust
fn wrap_selection<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `SelectingItemsControl::wrap_selection_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7710)

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

### on_is_selected_changed

```rust
fn on_is_selected_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
```

Handles `SelectingItemsControl::is_selected_changed_event`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7715)

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

### on_selection_changed

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

Handles `SelectingItemsControl::selection_changed_event`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7720)

## Trait implementations

- [`SelectingItemsControlProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-selectingitemscontrolprops/)

## Availability

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