Skip to main content

Direction Property

The direction the animation is playing. The Direction property allows you to drive your animation from start to end or end to start or alternate between start and end or end to start if animation has an IterationCount greater than one. This gives an easy way for customizing animation definitions.

Definition

Namespace: Avalonia.Rendering.Composition.Animations
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public PlaybackDirection Direction { get; set; }

Property Value

PlaybackDirection

See Also

Reference

KeyFrameAnimation Class
Avalonia.Rendering.Composition.Animations Namespace