# SelectingItemsControlBehavior

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-behaviors-animations/struct-selectingitemscontrolbehavior/

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

```rust
struct SelectingItemsControlBehavior
```

Enables the standard selection indicator animation on selecting items controls.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/selecting_items_control_behavior.rs#L13)

## Members

- [`TYPE`](#assoc_const-type)
- [`enable_selection_animation_property`](#function-enable_selection_animation_property)
- [`get_enable_selection_animation`](#function-get_enable_selection_animation)
- [`set_enable_selection_animation`](#function-set_enable_selection_animation)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this type.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/selecting_items_control_behavior.rs#L15)

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

### enable_selection_animation_property

```rust
fn enable_selection_animation_property() -> &'static AttachedProperty<bool>
```

Identifies the `EnableSelectionAnimation` attached property
(`get_enable_selection_animation`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/selecting_items_control_behavior.rs#L17)

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

### get_enable_selection_animation

```rust
fn get_enable_selection_animation(element: &SelectingItemsControl) -> bool
```

Gets whether selection indicator animation is enabled for the selecting items control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/selecting_items_control_behavior.rs#L105)

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

### set_enable_selection_animation

```rust
fn set_enable_selection_animation(element: &SelectingItemsControl, value: bool)
```

Sets whether selection indicator animation is enabled for the selecting items control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/selecting_items_control_behavior.rs#L110)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)

## Availability

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