I have an application where I need to draw different graphics objects on the WPF canvas. I could add Line, Rectangle etc. Now, I need to add a windows user control on the canvas. I can’t do it. May I know if we can really do that.
Through the forums I know that WindowsHostControl allow to use windows controls but I couldn’t find anything specific like drawing this on Canvas.
Please share on how t do this.
I have an application where I need to draw different graphics objects on the
Share
WindowsFormsHost can be added to a Canvas like any other UIElement. Do it like this: