更新
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
<!--
|
||||
This Source Code Form is subject to the terms of the MIT License.
|
||||
If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
|
||||
Copyright (C) Leszek Pomianowski and WPF UI Contributors.
|
||||
All Rights Reserved.
|
||||
-->
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:WPFluent.Controls">
|
||||
|
||||
<Style x:Key="DefaultMenuStyle" TargetType="{x:Type Menu}">
|
||||
<Setter Property="Background" Value="{DynamicResource MenuBarBackground}" />
|
||||
<Style TargetType="{x:Type Menu}" x:Key="DefaultMenuStyle">
|
||||
<Setter Property="Background" Value="{DynamicResource SubtleFillColorTransparentBrush}" />
|
||||
<Setter Property="Focusable" Value="False" />
|
||||
<Setter Property="OverridesDefaultStyle" Value="True" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
@@ -33,8 +23,8 @@
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="{x:Type Menu}"
|
||||
BasedOn="{StaticResource DefaultMenuStyle}"
|
||||
TargetType="{x:Type Menu}" />
|
||||
TargetType="{x:Type Menu}"
|
||||
x:Key="{x:Type Menu}" />
|
||||
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user