title: How do I make custom MenuHeaders in WPF with accelerators?
body: <p>I'd like to make some custom MenuHeaders in WPF so I can have (for example), an icon and text in a menu item.</p>
  
  <p>Normally using MenuItems, if you populate the Header field with straight text, you can add an accelerator by using an underscore. eg, _File</p>
  
  <p>However, if I wanted to put in a UserControl, I believe this function would break, how would I do something similar to the following?</p>
  
  <pre><code>&lt;Menu&gt;
  &lt;MenuItem&gt;
      &lt;MenuItem.Header&gt;
      &lt;UserControl&gt;
          &lt;Image Source="..." /&gt;
          &lt;Label Text="_Open" /&gt;
      &lt;/UserControl&gt;
      &lt;/MenuItem.Header&gt;
  &lt;/MenuItem&gt;
  ...
  </code></pre>