PropertyAnimationType
PropertyAnimationType
PropertyAnimationType
PropertyAnimationType
Enum
Definition
Specifies the animation type represented by a PropertyAnimation object.
public : enum class PropertyAnimationTypepublic enum PropertyAnimationTypePublic Enum PropertyAnimationType// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.UI.Core.AnimationMetrics.AnimationMetricsContract (introduced v1)
|
Fields
| Opacity Opacity Opacity Opacity | Animate the object's transparency. The corresponding object is the OpacityAnimation. |
| Scale Scale Scale Scale | Animate the size of the object, magnifying or shrinking. The corresponding object is the ScaleAnimation. |
| Translation Translation Translation Translation | 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.