问题
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