Wednesday, September 08, 2010

Silverlight dynamic point to point animation with EasingFunction

My article is divided into two section:
Section 1: Will show you how to create a point to point animation with EasingFunction using Blend
Section 2: How to set the point value dynamically in code behind
Section 1:
I will ignore the project creation part.
I will use a simple Layout in MainPage.xaml
Lets open the MainPage.xaml in Expression Blend and create a Storyboard
In the timeline select image add a KeyFrame to 0 sec
Add the end keyFrame at 2 sec and move the image to some location (some location because the location will be controlled from the code behind)
Now add back EasingFunction to the end keyFrame:
3.png

Read more: Silverlight Next