Animations | animations property

AnimationDescription.Animations | animations property

Gets the collection of animations that are associated with the AnimationDescription object.

Syntax


var animations = animationDescription.animations;

Property value

Type: IVectorView<IPropertyAnimation> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<IPropertyAnimation> [.NET]

A collection of IPropertyAnimation instances, each of which represents an animation effect specified for this AnimationDescription object.

Remarks

The returned animations should be applied to the object in the order they appear in the collection array. If two or more animations apply to an object, they will appear in the array in this order:

  1. Scale
  2. Translate
  3. Opacity

If the animations are being applied to more than one object, then the stagger-related properties (StaggerDelay and StaggerDelayFactor) describe the relative timing among the objects.

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
PropertyAnimationType
Animation metrics sample

 

 

Show:
© 2016 Microsoft