Silverlight 4 and WPF Compatibility

不打扰是莪最后的温柔 提交于 2019-12-13 05:16:38

问题


So if I created a Silverlight app, can I take the markup + code and put it in a WPF app? I was just curious if we decide to use Silverlight, whether I could also take advantage of WPF Windows clients too.


回答1:


This MSDN article may be a good reference as to where SL4 and WPF4 diverge:

WPF Compatibility




回答2:


You could always make your Silverlight application run Out-Of-Browser, just keep in mind you have a security sandbox which you dont have with WPF. Also Silverlight would be able to run on Macintosh without use of Mono which could be a benefit.



来源:https://stackoverflow.com/questions/3626936/silverlight-4-and-wpf-compatibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!