views:

280

answers:

3

If I wanted to create some Silverlight 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.

A: 

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. ;-)

herzmeister der welten
A: 

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?

Alan Mendelevich
+2  A: 

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

Jeremiah Morrill