PropertyAnimationType enumeration

PropertyAnimationType enumeration

Specifies the animation type represented by a PropertyAnimation object.

Syntax


public enum class PropertyAnimationType

Members

The PropertyAnimationType enumeration has these members.

MemberValueDescription
Scale | scale0

Animate the size of the object, magnifying or shrinking. The corresponding object is the ScaleAnimation.

Translation | translation1

Move the object. The corresponding object is the TranslationAnimation.

Opacity | opacity2

Animate the object's transparency. The corresponding object is the OpacityAnimation.

Remarks

All of the animation objects inherit from IPropertyAnimation. When they are retrieved through AnimationDescription.Animations, they are retrieved as generic IPropertyAnimation objects. The caller then checks the Type property, which provides one of the type values defined in this topic. The caller can then cast the IPropertyAnimation object to the specific animation object to access any additional properties it provides.

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

Attributes

[Version(0x06020000)]

See also

Animation metrics sample

 

 

Show:
© 2016 Microsoft