O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required