ScalarKeyFrameAnimation
ScalarKeyFrameAnimation
ScalarKeyFrameAnimation
ScalarKeyFrameAnimation
Class
Definition
A time-based animation that targets any Scalar-based property with one or more key frames.
public : sealed class ScalarKeyFrameAnimation : KeyFrameAnimation, IScalarKeyFrameAnimation
struct winrt::Windows::UI::Composition::ScalarKeyFrameAnimation : KeyFrameAnimation, IScalarKeyFrameAnimation
public sealed class ScalarKeyFrameAnimation : KeyFrameAnimation, IScalarKeyFrameAnimation
Public NotInheritable Class ScalarKeyFrameAnimation Inherits KeyFrameAnimation Implements IScalarKeyFrameAnimation
- Inheritance
-
ScalarKeyFrameAnimationScalarKeyFrameAnimationScalarKeyFrameAnimationScalarKeyFrameAnimation
- Attributes
Device family |
Windows 10 (introduced v10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
An animation is associated with an object's property by calling CompositionObject::StartAnimation and specifying the property name and the animation. See the remarks section of CompositionObject::StartAnimation for a list of animatable properties.
Methods
Properties
Comment Comment Comment Comment |
A string to associate with the CompositionObject. (Inherited from CompositionObject) |
Compositor Compositor Compositor Compositor |
The Compositor used to create this CompositionObject. (Inherited from CompositionObject) |
DelayBehavior DelayBehavior DelayBehavior DelayBehavior |
The delay behavior of the key frame animation. (Inherited from KeyFrameAnimation) |
DelayTime DelayTime DelayTime DelayTime |
Delay before the animation starts after CompositionObject::StartAnimation is called. (Inherited from KeyFrameAnimation) |
Direction Direction Direction Direction |
The direction the animation is playing. The Direction property allows you to drive your animation from start to end or end to start or alternate between start and end or end to start if animation has an IterationCount greater than one. This gives an easy way for customizing animation definitions. (Inherited from KeyFrameAnimation) |
Dispatcher Dispatcher Dispatcher Dispatcher |
The dispatcher for the CompositionObject. (Inherited from CompositionObject) |
DispatcherQueue DispatcherQueue DispatcherQueue DispatcherQueue |
Gets the DispatcherQueue for the CompostionObject. (Inherited from CompositionObject) |
Duration Duration Duration Duration |
The duration of the animation. (Inherited from KeyFrameAnimation) |
ImplicitAnimations ImplicitAnimations ImplicitAnimations ImplicitAnimations |
The collection of implicit animations attached to this object. (Inherited from CompositionObject) |
InitialValueExpressions InitialValueExpressions InitialValueExpressions InitialValueExpressions |
Gets the initial values for the animation. (Inherited from CompositionAnimation) |
IterationBehavior IterationBehavior IterationBehavior IterationBehavior |
The iteration behavior for the key frame animation. (Inherited from KeyFrameAnimation) |
IterationCount IterationCount IterationCount IterationCount |
The number of times to repeat the key frame animation. (Inherited from KeyFrameAnimation) |
KeyFrameCount KeyFrameCount KeyFrameCount KeyFrameCount |
The number of key frames in the KeyFrameAnimation. (Inherited from KeyFrameAnimation) |
Properties Properties Properties Properties |
The collection of properties associated with the CompositionObject. (Inherited from CompositionObject) |
StopBehavior StopBehavior StopBehavior StopBehavior |
Specifies how to set the property value when StopAnimation is called. (Inherited from KeyFrameAnimation) |
Target Target Target Target |
The target of the animation. (Inherited from CompositionAnimation) |