title: MenuItem Style override single role style
body: <p>is there any way to override a single role style of MenuItem? I know the way to override the IsHighlighted color of MenuItem is to override the ContentTemplate. What i want is to override the ContentTemplate for Role "SubmenuItem"</p>
  
  <pre><code>&lt;Style x:Key="ActionMenuItemStyle" TargetType="{x:Type MenuItem}"&gt;
      &lt;Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" /&gt;
      &lt;Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" /&gt;
      &lt;Setter Property="Background" Value="Transparent" /&gt;
      &lt;Setter Property="Template" Value="{StaticResource SubmenuItemTemplateKey2}" /&gt;
      &lt;Setter Property="Foreground" Value="Black" /&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property="Role" Value="TopLevelHeader"&gt;
              &lt;Setter Property="Padding" Value="7,2,8,3" /&gt;
              &lt;Setter Property="Template" Value="???" /&gt;
              &lt;Setter Property="Foreground" Value="White" /&gt;
          &lt;/Trigger&gt;
          &lt;Trigger Property="Role" Value="TopLevelItem"&gt;
              &lt;Setter Property="Padding" Value="7,2,8,3" /&gt;
              &lt;Setter Property="Template" Value="???" /&gt;
          &lt;/Trigger&gt;
          &lt;Trigger Property="Role" Value="SubmenuHeader"&gt;
              &lt;Setter Property="Padding" Value="2,3,2,3" /&gt;
              &lt;Setter Property="Template" Value="???" /&gt;
          &lt;/Trigger&gt;
          &lt;Trigger Property="Role" Value="SubmenuItem"&gt;
              &lt;Setter Property="Padding" Value="2,3,2,3" /&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>The {StaticResource SubmenuItemTemplateKey2} is my override ContentTemplate. For the other roles i want use the default templates of MenuItem. Is there any way to do it?</p>
  
  <p>Best regards</p>
  
  <p>Lutze</p>