开发者

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#

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜