Custom Animations
All XAML-based UI frameworks include seven animation classes that enable you to describe your own custom animations and apply them the same way that the theme animations are applied in Windows Store and universal apps.
The seven custom animation classes cover four possible data types that can be animated: double, Point, Color, and object. If you want to vary the value of a double property over time (such as Width, Height, Opacity, Canvas.Left, and so on), you can use an instance of DoubleAnimation. If you instead want to vary the value of a Point property over time (such as a LinearGradientBrush’s StartPoint or EndPoint property), you can use an instance of PointAnimation. DoubleAnimation is by far the most commonly used custom ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access