# SelectionModelSelectionChangedEventArgs

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

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

```rust
trait SelectionModelSelectionChangedEventArgs
```

The arguments of the selection changed event of a selection model, with
untyped items.

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

## Members

- [`deselected_indexes`](#function-deselected_indexes)
- [`selected_indexes`](#function-selected_indexes)
- [`deselected_items`](#function-deselected_items)
- [`selected_items`](#function-selected_items)

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

### deselected_indexes

```rust
fn deselected_indexes(self: &Self) -> Rc<dyn IReadOnlySelectionList<i32>>
```

Gets the indexes of the items that were removed from the selection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/selection/selection_model_selection_changed_event_args.rs#L15)

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

### selected_indexes

```rust
fn selected_indexes(self: &Self) -> Rc<dyn IReadOnlySelectionList<i32>>
```

Gets the indexes of the items that were added to the selection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/selection/selection_model_selection_changed_event_args.rs#L18)

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

### deselected_items

```rust
fn deselected_items(self: &Self) -> Rc<dyn IReadOnlySelectionList<Option<BoxedValue>>>
```

Gets the items that were removed from the selection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/selection/selection_model_selection_changed_event_args.rs#L21)

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

### selected_items

```rust
fn selected_items(self: &Self) -> Rc<dyn IReadOnlySelectionList<Option<BoxedValue>>>
```

Gets the items that were added to the selection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/selection/selection_model_selection_changed_event_args.rs#L24)

## Trait implementations

- [`SelectionModelSelectionChangedEventArgs`](/docs/0.5.0/api/ferroui-controls-repeater/selection/struct-selectionmodelselectionchangedeventargs/)

## Availability

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