-api-id | -api-type |
---|---|
T:Microsoft.UI.Composition.CompositionAnimation |
winrt class |
Represents the base animation class.
This is the base class for ExpressionAnimation and KeyFrameAnimation.
Use the CompositionObject.StartAnimation and CompositionObject.StopAnimation methods to start and stop the animation.
Value parameters (as opposed to reference parameters which are set using SetReferenceParameter) are copied and "embedded" into an expression at the time CompositionObject.StartAnimation is called. Changing the value of the variable after CompositionObject.StartAnimation is called will not affect the value of the ExpressionAnimation. See the remarks section of ExpressionAnimation for additional information.
ExpressionAnimation, KeyFrameAnimation, Composition Animations Overview, CompositionObject, IClosable