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.) ...
Get Pro Silverlight 5 in VB 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.