O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

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

Creating Simple Animations

Creating an animation is a multistep process. You need to create three separate ingredients: an animation object to perform your animation, a storyboard to manage your animation, and an event handler (an event trigger) to start your storyboard. In the following sections, you'll tackle each of these steps.

The Animation Class

Silverlight includes two types of animation classes. Each type of animation uses a different strategy for varying a property value:

  • Linear interpolation: The property value varies smoothly and continuously over the duration of the animation. (You can use animation easing to create more complex patterns of movement that incorporate acceleration and deceleration, as described later in this chapter.) ...

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