i want to draw something on a windowsformhost usercontrol in wpf. try OnPaint but it doesn't apear anything try zindex but unsuccessful try windowsformhost on a windowsformhost but unsuccessful. because windowsformhost can't be transparent any other Idea??
Asked
Active
Viewed 40 times
0
-
You can't change the Z-Index of a WIndowsFormsHost. Btw a possible hack is to use a PopUp as explained here https://stackoverflow.com/questions/11248384/toolbar-overlay-over-windowsformshost – trix Sep 28 '20 at 13:17
-
I would consider what's involved in replacing whatever is in your windowsformhost with wpf. – Andy Sep 28 '20 at 15:29