DoubleAnimationUsingKeyFrames In C#
Posted
by Asim Sajjad
on Stack Overflow
See other posts from Stack Overflow
or by Asim Sajjad
Published on 2010-03-27T08:48:48Z
Indexed on
2010/03/27
8:53 UTC
Read the original article
Hit count: 241
Any one there you have used DoubleAnimationUsingKeyFrames in C# can he/she provide example code or link where I can find the solution. I know how to do in xaml but I want to do it in code using C#. how can i convert following xaml to C#
<Storyboard x:Key="Storyboard1">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="100"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
thanks in advance
© Stack Overflow or respective owner