title: OpenGL control overlays WPF elements
body: <p>I have rich client application developed in WPF using DevExpress controls library. </p>
  
  <p>In one of the panels I render some visual elements using OpenTK (OpenGL's wrapper library for .net).</p>
  
  <p>The problem is, OpenGL rendering surface seems to be Top Most within the application. So if I move one panel on to another, OpenGL's control overlays WPF elements:</p>
  
  <p><img src="https://i.stack.imgur.com/I6wJi.png" alt="enter image description here"></p>
  
  <p>I'm not sure is it general problem with WPF, or something with DevExpress or OpenTK.</p>
  
  <p>I would like to know, is there anything I can do, to solve this problem?</p>
  
  <p>Edit: I'm using WindowsFormsHost control to put OpenTK's GLControl into WPF UserControl. And I'm using .Net 4.5.</p>