C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Silverlight »

Animation in silverlight


Posted Date: 05 Oct 2009      Posted By: Kritika Yadav      Member Level: Gold     Points: 1   Responses: 3



Ho every one,

I want to create animation through Silverlight. can any one give me step by step procedure to do this.

Join this campus group
http://www.dotnetspider.com/sites/637/-ecb-aspdotnet.aspx

Happy Programming
Kritika Yadav
Dot Net Help





Responses

Author: Arjune    05 Oct 2009Member Level: GoldRating: 2 out of 52 out of 5     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 2009Member Level: SilverRating: 2 out of 52 out of 5     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 2009Member Level: SilverRating: 2 out of 52 out of 5     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/



Post Reply
You must Sign In to post a response.
Next : How to bind array of datas to the chart control
Previous : Media element fullscreen
Return to Discussion Forum
Post New Message
Category: Silverlight

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use