XAML to C# Converter
I need help to convert XAML TO C# in the following code. It was working fine at the design time. But I want to assign the values in the runtime.
Here is the XAML code:
开发者_如何学编程< Image UITest:SupportAnimatedGIFBehviour.SupportAnimatedGif="True"/>
And the full source is in the following website:
http://eladm.wordpress.com/2009/04/02/animated-gif-support-behavior/
For this XAML:
<Image Name="myImage"/>
Use this C# code:
SupportAnimatedGIFBehviour.SetSupportAnimatedGif( myImage, true );
Use http://xamlt.com/ to convert any XAML Code to C#
精彩评论