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 ...
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.