| Author: Arjune 05 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
Find below the simple code for animation to move the object from one position to other position.Below code just specifies the from and to values for the control move the control from (0,100) to (0,400)
Storyboard objStory = new Storyboard(); DoubleAnimation objDouble = new DoubleAnimation(); objDouble.From=100.00; objDouble.To=400; objDouble.SpeedRatio = 2; Storyboard.SetTargetProperty(objDouble, new PropertyPath("(Control.Top)")); Storyboard.SetTarget(objDouble,Control); objStory.Children.Add(objDouble); objStory.Begin();
Kindly rate the answer if it is helpful
|
| Author: Renuga 26 Oct 2009 | Member Level: Silver | Rating:  Points: 2 |
Hi,
check these
http://blogs.msdn.com/silverlight_sdk/archive/2008/03/21/silverlight-animations-a-walkthrough.aspx
http://silverlight.net/learn/quickstarts/animations/
http://msdn.microsoft.com/en-us/library/cc189019(VS.95).aspx
|
| Author: Renuga 26 Oct 2009 | Member Level: Silver | Rating:  Points: 2 |
http://www.kirupa.com/blend_silverlight/creating_animation_silverlight2_pg1.htm
http://www.silverlightbuzz.com/2009/10/12/animating-with-storyboards-in-blend/
|