C# transparent canvas over OpenGL -
i have following layout in c# windowsformhost host opengl window. add transparent canvas on draw 2d stuff. code doesn't work. please help. mc:ignorable="d"> <grid> <dockpanel> <windowsformshost grid.column="0" x:name="scannerviewpanel"/> <canvas background="transparent"/> edit: after add canvas, opengl content not shown, opaque canvas. tried make canvas transparent, set opacity 0, it's still opaque. from msdn : in wpf user interface, can change z-order of elements control overlapping behavior. hosted windows forms control drawn in separate hwnd, drawn on top of wpf elements. you can't that.