How do I add a UIElement to a Windows Forms application?
I have a WPF custom control that I would like to add to a Windows Forms Application. So I added a link to the WPF assembly, created an ElementHost and set the Child property in code.
Is there a way to do this using drag and drop without writing any code? I tried the ElementHost popup but it doesn't display my component. As far as I can see, it only lists the WPF components that are in the project (as opposed to an external assembly).
+2
source to share