Skip to main content
AnimationDescription.ZOrder | zOrder property

Gets the z-order position of an AnimationDescription object relative to other AnimationDescription objects in the same animation effect.   AnimationDescription objects with a higher z-order cover transitions with a lower z-order.

Syntax


var zOrder = animationDescription.zOrder;

public int ZOrder { get; }

Public ReadOnly Property ZOrder As Integer

public:
property int ZOrder { 
   int get();
}

Property value

Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++]

The z-order value.

Remarks

The z-order value is used only for arranging AnimationDescription objects within the same overall animation. It has no effect on AnimationDescription objects from different transitions.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.UI.Core.Animationmetrics.AnimationmetricsContract, introduced version 1.0

Namespace

Windows.UI.Core.AnimationMetrics
Windows::UI::Core::AnimationMetrics [C++]

Metadata

Windows.UI.Core.Animationmetrics.AnimationmetricsContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Core.AnimationMetrics
Windows::UI::Core::AnimationMetrics [C++]

Metadata

Windows.winmd

See also

AnimationDescription
Animation metrics sample