|
@@ -81,5 +81,26 @@
|
|
<Setter Property="Margin" Value="0,10,0,0"/>
|
|
<Setter Property="Margin" Value="0,10,0,0"/>
|
|
</Style>
|
|
</Style>
|
|
|
|
|
|
|
|
+ <Style x:Key="{x:Type ContextMenu}" TargetType="{x:Type ContextMenu}">
|
|
|
|
+ <Setter Property="OverridesDefaultStyle" Value="True"/>
|
|
|
|
+ <Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
|
|
+ <Setter Property="Template">
|
|
|
|
+ <Setter.Value>
|
|
|
|
+ <ControlTemplate TargetType="{x:Type ContextMenu}">
|
|
|
|
+ <Border Background="#303030" BorderBrush="White" BorderThickness="1" Opacity="0.96">
|
|
|
|
+ <StackPanel ClipToBounds="True" Orientation="Vertical" IsItemsHost="True"/>
|
|
|
|
+ </Border>
|
|
|
|
+ </ControlTemplate>
|
|
|
|
+ </Setter.Value>
|
|
|
|
+ </Setter>
|
|
|
|
+ </Style>
|
|
|
|
+ <ControlTemplate x:Key="{x:Static MenuItem.TopLevelItemTemplateKey}" TargetType="{x:Type MenuItem}">
|
|
|
|
+ <Border Name="Border" >
|
|
|
|
+ <Grid>
|
|
|
|
+ <ContentPresenter Margin="6,3,6,3" ContentSource="Header" RecognizesAccessKey="True" />
|
|
|
|
+ </Grid>
|
|
|
|
+ </Border>
|
|
|
|
+ </ControlTemplate>
|
|
|
|
+
|
|
|
|
|
|
</ResourceDictionary>
|
|
</ResourceDictionary>
|