Saturday, November 13, 2010

Silverlight 3 and Animation

In this post i will show how simple it is to use animation in silverlight 3 by animating a button width and height. When working with Animation in silverlight, we need an animation object to perform our animation on and a storyboard to handle your animation. Once the storyboard and animation is setup we need a way to trigger the storyboard to start. You have a couple of options for starting a storyboard: using code, using xaml, or (gotostate for silverlight 4) . We will be working in Expression Blend 4 for this example.