AnimationStopBehavior AnimationStopBehavior AnimationStopBehavior AnimationStopBehavior Enum


Specifies the behavior of an animation when it stops.

public : enum class AnimationStopBehavior
enum class winrt::Windows::UI::Composition::AnimationStopBehavior : int32_t
public enum AnimationStopBehavior
Public Enum AnimationStopBehavior

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


LeaveCurrentValue LeaveCurrentValue LeaveCurrentValue LeaveCurrentValue 0

Leave the animation at its current value.

SetToFinalValue SetToFinalValue SetToFinalValue SetToFinalValue 2

Set the animation to its final value.

SetToInitialValue SetToInitialValue SetToInitialValue SetToInitialValue 1

Reset the animation to its initial value.

See also