Files
Shrlalgo.RvKits/WPFDark/Controls/BiaHamburgerMenu.xaml

21 lines
1.6 KiB
Plaintext
Raw Normal View History

2025-07-11 09:20:23 +08:00
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:WPFDark2="clr-namespace:WPFDark"
xmlns:controls="clr-namespace:WPFDark.Controls"
xmlns:internals="clr-namespace:WPFDark.Internals">
<ResourceDictionary.MergedDictionaries>
<internals:SharedResourceDictionary Source="pack://application:,,,/WPFDark;component/StandardControls/Menu.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style BasedOn="{StaticResource MenuItemBaseStyle}" TargetType="{x:Type controls:BiaHamburgerMenu}">
<Setter Property="Header">
<Setter.Value>
<Canvas Width="32.0"
Height="32.0"
Margin="-8,-4,0,0">
<Path Data="m16,18.66797c0.73828,0 1.33203,0.59375 1.33203,1.33203c0,0.73828 -0.59375,1.33203 -1.33203,1.33203c-0.73828,0 -1.33203,-0.59375 -1.33203,-1.33203c0,-0.73828 0.59375,-1.33203 1.33203,-1.33203m0,-4c0.73828,0 1.33203,0.59375 1.33203,1.33203c0,0.73828 -0.59375,1.33203 -1.33203,1.33203c-0.73828,0 -1.33203,-0.59375 -1.33203,-1.33203c0,-0.73828 0.59375,-1.33203 1.33203,-1.33203m0,-4c0.73828,0 1.33203,0.59375 1.33203,1.33203c0,0.73828 -0.59375,1.33203 -1.33203,1.33203c-0.73828,0 -1.33203,-0.59375 -1.33203,-1.33203c0,-0.73828 0.59375,-1.33203 1.33203,-1.33203zm0,0" Fill="{Binding RelativeSource={RelativeSource AncestorType=Menu}, Mode=OneWay, Path=Foreground}" />
</Canvas>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>