title: BringToFront in WPF
body: <p>I need to bring to front a custom control in WPF.</p>
  
  <p>pseudoCode</p>
  
  <pre><code>OnMouseDown()
  {
      if (this.parent != null)
          this.parent.BringToFront(this);
  }
  </code></pre>
  
  <p><em>I know, I know</em> that there are a <strong>ZIndex</strong>, but still don't understand how to replace the simple WinForm <code>BringToFront</code> to <code>parent.SetZIndex(this, ?MaxZIndex(parent)? + 1)</code> ?</p>
  
  <p>Perhaps there is a better way of doing it in the such a cool thing like WPF?!..</p>