Browse by Tags

All Tags » Animation (RSS)

Silverlight 3 Quick Tip: Animation Easing and VSM

New version of VSM in Silverlight 3 got new interesting addition – ability to use Easing Function for visual state transition animation. To use it, set the property “GeneratedEasingFunction” to desired VisuaStateTransition element and provide it with class instance with implements IEasingFunction. From XAML: < vsm : VisualTransition GeneratedDuration ="00:00:10"                                ...

Silverlight 3 Quick Tip #3: Creating custom easing for Silverlight animations

This time I’ll show how to use new easing functions for animations. In Silverlight 3 we could apply one of existing easing functions to our animation (storyboard) or create our own. First, let’s apply existing easing function. On my sample page I have a bunch of buttons to control UI, a stack panel with some path that looks like a spring and a ball attached to it. Also I created a storyboard to animate the Width property: < StackPanel x:Name ="LayoutRoot" Background ="LightGray"...

What’s new in Silverlight 3 Beta 1?

As just announced at MIX09 keynotes, new version of Silverlight will hit our machines – this time it will be Silverlight 3 Beta 1. Here is the short list of what’s new in there: Go offline with your application: Silverlight 3 provides all the features you need to store your application on your users machine, and then work against their data in the your isolated cache or under their MyDocuments. Your application can ask the user if they want to add a link to your application on their desktop or start...

Silverlight Tip: Dynamic animations

Hello, I was asked about creation of animations dynamically for various elements. Today I’ll show how to create such animations for any (almost) Silverlight element. I’ll create some of popular standard PowerPoint animations. I know that it is not the full set of animations available in PowerPoint, also the animations itself are probably not perfect but it is a good starting point to those who want to know how to do it. Generally, to create the animation on-the-fly we need to create a storyboard...