阅读背景:

如何序列化在运行时设置源的图像控件?

来源:互联网 

I have a Grid containing several controls, the most important being three image controls. I need to make a duplicate of this Grid. Serializing by saving the XAML in a MemoryStream doesnt seem to help because, obviously, when I set the source of the Image Control in the code behind at runtime, this change is not reflected in the XAML designer code. [Technically it is, but as I have a Grid containing several controls, the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: