# AnimationDelayBehavior

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/animations/enum-animationdelaybehavior/

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

```rust
enum AnimationDelayBehavior
```

Specifies the animation delay behavior.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L176)

## Members

- [`SetInitialValueAfterDelay`](#variant-setinitialvalueafterdelay)
- [`SetInitialValueBeforeDelay`](#variant-setinitialvaluebeforedelay)

<a id="variant-setinitialvalueafterdelay"></a>

### SetInitialValueAfterDelay

```rust
SetInitialValueAfterDelay
```

If a DelayTime is specified, it delays starting the animation according to delay time and after delay
has expired it applies animation to the object property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L180)

<a id="variant-setinitialvaluebeforedelay"></a>

### SetInitialValueBeforeDelay

```rust
SetInitialValueBeforeDelay
```

Applies the initial value of the animation (i.e. the value at Keyframe 0) to the object before the delay time
is elapsed (when there is a DelayTime specified), it then delays starting the animation according to the DelayTime.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L183)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`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/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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