Quantcast
Viewing all articles
Browse latest Browse all 18858

Show WPF UserControl in WinForms tab control?

Hi,

I have a WinForms application which currently shows multiple forms within a tab control.  It does this by creating a tab page and passing it to the new form, then each control on that form can have its parent set to the tabpage.  Not sure if this is the best way to do this but it works perfectly well.

I now want to add a WPF control to a form.  However I can't set the parent property of the WPF control as this is read-only and a dependencyobject.  Is there a way to do this?

Thanks.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>