开发者

Is is possible to host Silverlight widgets from a WPF app?

If I wanted to create some Silverl开发者_如何学JAVAight widgets and host them within WPF is this possible?

I've searched for examples & found a few concepts online but no approaches that actually panned out / work / and a bunch of dead links.

Has anyone successfully done this or any ideas for how to do this? Any help is appreciated.


You can try my SilverlightViewport project. It allows for rendering Silverlight programs in WPF. Should support all versions of SL.


The brute approach would be using the WebBrowserControl. Other than that, I don't know. Maybe you could unzip the .XAP file and try to load the XAMLs and Assemblies you would find. ;-)


What features specific to Silverlight do you use in those widgets? Is there a real problem with making them work in both Silverlight and WPF and compiling 2 versions?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜