feat: add toggle registration.

This commit is contained in:
rabbitism
2024-02-14 01:25:21 +08:00
parent f2073f4eb3
commit f67a5a313c
3 changed files with 93 additions and 27 deletions

View File

@@ -128,6 +128,9 @@
<Setter Property="Template" Value="{StaticResource DefaultNavMenuItemTemplate}" />
<Style Selector="^:selected">
<Setter Property="Background" Value="{DynamicResource NavigationMenuItemSelectedBackground}" />
<Style Selector="^:pointerover">
<Setter Property="Background" Value="{DynamicResource NavigationMenuItemSelectedBackground}" />
</Style>
</Style>
<Style Selector="^:vertical-collapsed /template/ ItemsPresenter#PART_ItemsPresenter">
<Setter Property="Height" Value="0" />