Is it possible to host Silverlight widgets from a WPF application?

If I wanted to create some Silverlight widgets and host them in WPF, is that possible?

I searched for examples and found several concepts on the Internet, but no approaches that were not actually executed / work / and a bunch of dead links.

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

+4
source share
3 answers

You can try the SilverlightViewport project. It allows you to display Silverlight programs in WPF. Must support all versions of SL.

+2
source

A rough approach will use WebBrowserControl. Other than that, I don’t know. Perhaps you can unzip the .XAP file and try downloading XAML and the assemblies you find .; -)

0
source

What features specific to Silverlight are used in these widgets? Is there a real problem with getting them to work in both Silverlight and WPF and compiling 2 versions?

0
source

Source: https://habr.com/ru/post/1300438/


All Articles