Animation Settings
This section contains full lists of the Avalonia UI animation settings:
- Easing Functions
- Fill Modes
- Playback Direction
- Repeat
Easing Functions
Profile | Setting |
---|---|
SineEaseOut |
Fill Modes
The fill mode attribute of an animation defines how the set property persists after running an animation, and on delays in between runs.
The following table describes the possible behaviors:
Value | Description |
---|---|
None | Value will not persist after animation nor the first value will be applied when the animation is delayed. |
Forward | The last interpolated value will be persisted to the target property. |
Backward | The first interpolated value will be displayed on animation delay. |
Both | Both Forward and Backward behaviors will be applied. |
Playback Direction
Playback direction defines how the animation will be played, including any repeats. The following table describes the possible settings:
Value | Description |
---|---|
Normal | The animation is played normally. |
Reverse | The animation is played in reverse direction. |
Alternate | The animation is played forwards first, then backwards. |
AlternateReverse | The animation is played backwards first, then forwards. |
Repeat
The repeat attribute on an animation element sets how many times it is to be replayed. There are two formats for this setting:
Value | Description |
---|---|
N | (N is an integer) - play N times. N can be zero. |
INFINITE | Repeat Indefinitely |