4

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.

3 Answers3

2

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

Jeremiah Morrill
  • 4,248
  • 2
  • 17
  • 21
0

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
  • 11,101
  • 2
  • 41
  • 51
0

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
  • 3,591
  • 4
  • 32
  • 50