PropertyAnimationType Enum

Definition

Specifies the animation type represented by a PropertyAnimation object.

public enum class PropertyAnimationType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.AnimationMetrics.AnimationMetricsContract, 65536)]
enum class PropertyAnimationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.AnimationMetrics.AnimationMetricsContract), 65536)]
public enum PropertyAnimationType
var value = Windows.UI.Core.AnimationMetrics.PropertyAnimationType.scale
Public Enum PropertyAnimationType
Inheritance
PropertyAnimationType
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.UI.Core.AnimationMetrics.AnimationMetricsContract (introduced in v1.0)

Fields

Opacity 2

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

Scale 0

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

Translation 1

Move the object. The corresponding object is the TranslationAnimation.

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.

Applies to

See also