Hi,
how to convert(move) this XAML code to Code behind in wpf( XAML---> code behind)
<Canvas >
<Image Name="ManImage" >
<Image.Triggers>
<EventTrigger RoutedEvent="Image.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Name="walking" Storyboard.TargetName="ManImage" Storyboard.TargetProperty="Width"
From="200" To="200" Duration="0:0:0.2" Completed="DoubleAnimation_Completed"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Image.Triggers>
</Image>
</Canvas>
Thanks and Regards
Muthukumar