title: WPF Path : How to Draw this in XAML?
body: <p>I want to create a custom GroupBox with non rectangular header like in the following picture :</p>
  
  <p><img src="https://i.stack.imgur.com/iLQTR.png" alt="enter image description here"></p>
  
  <p>As you see, the content of the header must be parametrable, so image, title and background  can be entered in xaml.</p>
  
  <p>Thanks in advance.</p>
  
  <hr>
  
  <p>Thank you for your answer.</p>
  
  <p>Actually i want to use this design in a custom groupbox, so in your answer if i dont't set width and height of the grid (width=150 height =30) the shape components become separated, So i want the shape to be in a unique Body, so it will be easy to apply background colors. and by the way can you round corners like the following picture ?</p>
  
  <p><img src="https://i.stack.imgur.com/iLQTR.png" alt="enter image description here"></p>