Chapter 23. Animation

What You’ll Learn in This Hour:

  • Some underlying concepts for animation in general

  • The mechanics of animation in WPF

  • Creating animations in XAML

  • How to apply animations to styles and control templates

Animation is one of the more complicated topics to discuss in WPF—not because it is technically more difficult, but because it has many prerequisites. To fully discuss animation, you need to have knowledge of routed events, dependency properties, triggers, and many other aspects of WPF. Hopefully, you have a sense of satisfaction that you are now ready to tackle the subject.

Understanding Animation in General

Before we dig into the tools that WPF provides for creating animations, we should take a moment to understand the fundamentals ...

Get Sams Teach Yourself WPF in 24 Hours 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.