阅读背景:

WPF - 如何以编程方式将对象实现为可视内容?

来源:互联网 

When you assign an object to a Content control it will materialize a Visual appropriate for that assigned object. Is there a programmatic way to achieve the same result? I would like to call a function in WPF with an object and get back a Visual, where the same logic is applied in generating the Visual as if you had supplied the object to a Content control instance.When you assign an object to a Content control




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

分享到: