title: C# WPF Menu Item Background color
body: <p>I have a program in C# WPF (.NET 4.0 Framework)</p>
  
  <p>Since i am fairly new with WPF (came from Windows Forms) i wonder how i can fix this issue.
  I have a Menu Control at top with all my needed Items and i have set the Background color of the Menu Control to ControlLightLight (System Color, similar to white) however when i click on a Menu Item to see my Sub Items the Background color is not the same. So what i did is change the Background color for the sub items, but it gets messed up: <a href="http://i.imgur.com/maNNAtG.png" rel="nofollow">Screen-Shot</a></p>
  
  <p>Good screenshot showing the problem:</p>
  
  <p>All i wanted is the grey color to be like the white one (ControlLightLight): <a href="http://i.imgur.com/VgBWyAy.png" rel="nofollow">Screen-Shot</a></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Heres the code with the background i used:</p>
  
  <pre><code>                &lt;MenuItem x:Name="mnuHelp" Header="Help"&gt;
                  &lt;MenuItem Header="Check for Updates" Background="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}"/&gt;
                  &lt;MenuItem Header="About"/&gt;
              &lt;/MenuItem&gt;
  </code></pre>