In this article we will be seeing how to create Silverlight TranslateTransform Animation using Visual studio 2010.In this we will be applying TranslateTransform to an object based on one among the properties of the transform animation will be created. Translate Transform will be applied to Ellipse object and the X property of the translate transform will be animated. For TranslateTransform check this article. Adding TranslateTransform:<Ellipse x:Name="rectangle" Height="50" Width="50" Canvas.Left="75" Canvas.Top="75" Fill="Blue"><Ellipse.RenderTransform><TranslateTransform x:Name="translateTransform"></TranslateTransform></Ellipse.RenderTransform></Ellipse>Adding StoryBoard:<Storyboard x:Name="storyBoard"><DoubleAnimation Storyboard.TargetName="translateTransform" Storyboard.TargetProperty="X" From="1" To="100" Duration="0:0:1" RepeatBehavior="Forever" AutoReverse="True"></DoubleAnimation></Storyboard>Begin the Animation: storyBoard.Begin();Steps Involved:Creating a Silverlight Application:
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: