O'Reilly logo

Illustrated WPF by Daniel Solis

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

Chapter 19. Animation

What Is Animation?

A graphic animation, such as an animated cartoon, is a sequence of frames, where the objects in each frame are moved just a small bit from where they were in the previous frame. When the frames are shown in rapid succession, the objects in the frames appear to be moving.

In WPF, the term animation has a more restricted meaning. It refers to the process of having WPF sequentially change the value of a dependency property from one value to another in extremely small increments over a period of time. You can use this to give objects the appearance of movement.

For example, you could have WPF animate the FontSize property of a button from 12.0 to 22.0 over a period of one second. Figure 19-1 illustrates this animation. ...

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