Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.64 KB

keyframeanimation.md

File metadata and controls

24 lines (16 loc) · 1.64 KB
-api-id -api-type
T:Microsoft.UI.Composition.KeyFrameAnimation
winrt class

Microsoft.UI.Composition.KeyFrameAnimation

-description

A time-based animation with one or more key frames. These frames are markers, allowing developers to specify values at specific times for the animating property. KeyFrame animations can be further customized by specifying how the animation interpolates between keyframes.

-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. See Composition Animations Overview for additional information on ExpressionAnimations.

A KeyFrameAnimation does not stop automatically when an app's process is suspended. You must subscribe to app state events and stop or pause your animations before the app is suspended. For more info about app suspension, see App lifecycle.

-examples

-see-also

Composition Animations Overview, CompositionAnimation, IClosable