Skip to main content

AnimationDelayBehavior Enum

Definition​

Assembly:Avalonia.Base
Package:Avalonia

Specifies the animation delay behavior.

public enum AnimationDelayBehavior

Inheritance: Enum -> AnimationDelayBehavior

Fields​

NameDescription
SetInitialValueAfterDelayIf 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.
SetInitialValueBeforeDelayApplies 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.

SetInitialValueAfterDelay Field​

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.

public Avalonia.Rendering.Composition.Animations.AnimationDelayBehavior SetInitialValueAfterDelay

SetInitialValueBeforeDelay Field​

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.

public Avalonia.Rendering.Composition.Animations.AnimationDelayBehavior SetInitialValueBeforeDelay