Custom Keyframe Animations

So far, all the information about custom animations applies to three basic classes: DoubleAnimation, ColorAnimation, and PointAnimation. But there are seven custom animation classes. The remaining four all enable keyframes, which provide specific values at specific times. You certainly can’t miss this distinction from their names. They are called DoubleAnimationUsingKeyFrames, ColorAnimationUsingKeyFrames, PointAnimationUsingKeyFrames, and ObjectAnimationUsingKeyFrames.

The keyframe animation classes have the same members as their counterparts, except for the From, To, and By properties. Instead, they have a KeyFrames collection that can hold keyframe instances specific to the type being animated. There are four types ...

Get XAML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.