跳转至

wd:DrawerMenu

Category: Windows & Navigation · Available in the WPFDevelopers NuGet package.

Win10-style drawer navigation

Example Source

DrawerMenuExample.xaml

Detailed Usage

DrawerMenu.ShowExpandButton defaults to True. Set it to False to hide the built-in expand/collapse button and collapse the menu to zero width. Control IsExpanded from an external control:

<ToggleButton x:Name="MenuToggle" Content="Menu" />
<wd:DrawerMenu ShowExpandButton="False"
               IsExpanded="{Binding IsChecked, ElementName=MenuToggle, Mode=TwoWay}" />