Covert xmal to vb.net for double animation

Asked By MySpider DotNet
13-Apr-09 07:08 AM
Earn up to 0 extra points for answering this tough question.

Can any one convert the following Xmal to VB.NEt code

 

<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="canvas" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
    <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1.2"/>
   </DoubleAnimationUsingKeyFrames>

  Re::Covert xmal to vb.net for double animation

Santhosh N replied to MySpider DotNet
13-Apr-09 07:31 AM
I dont think we have any convertor yet to convert the XAML to VB.net...

you could check here for some input on your problem...

http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/f9b0b54a-11ae-4a9f-9267-7530ca7acd95

  Here it is.

[)ia6l0 iii replied to MySpider DotNet
15-Apr-09 02:05 AM
Dim dauKfs As New DoubleAnimationUsingKeyFrames()
dauKfs.BeginTime = TimeSpan.FromSeconds((0))

Storyboard.SetTargetName(dauKfs, "canvas")
Storyboard.SetTargetProperty(dauKfs, New PropertyPath("(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"))

Dim sdKF As New SplineDoubleKeyFrame()
sdKF.KeyTime = TimeSpan.FromSeconds((1))
sdKF.Value = 1.2
Create New Account