The WPF Navigation Drawer control is a sidebar navigation view that is used to create a navigation menu. It provides compact and extended display modes with built-in navigation view items. Switch between modes based on the available size of the window. It also provides a default mode that allows a custom pane view.
Using the compact and extended display modes, create a navigation menu with built-in items. Footer items can also be populated using the built-in items. The drawer menu can be expanded and collapsed using the built-in toggle button.
The sliding panel of the WPF Navigation Drawer can be loaded with navigation items such as tabs, a header, separators, and buttons.
The WPF Navigation Drawer menu can automatically switch between the compact and extended modes based on the available size of the window.
The sidebar menu of the Navigation Drawer can be loaded with multiple levels by choosing the tab navigation item. This will be useful to organize and prioritize a list of multiple items.
The WPF Navigation Drawer has a built-in toggle button placed at the top-left corner that can be used to toggle the sidebar menu between compact and extended modes.
The default display mode allows you to load any custom view for the header, menu content, and footer. The drawer menu will be completely hidden in this display mode.
Load the view for the header part of the side drawer pane.
Load the view for the body part of the side drawer pane.
Load the view for the footer part of the side drawer pane.
Customize the position of the drawer. The drawer can be placed at the left, right, top, and bottom.
Easily get started with the WPF Navigation Drawer using a few simple lines of XAML or C# code example as demonstrated below. Also explore the WPF Navigation Drawer example that shows how to render and configure the Navigation Drawer in WPF.
<syncfusion:SfNavigationDrawer>
<syncfusion:SfNavigationDrawer.ContentView>
<Label
Width="150"
Height="30"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="Content View" />
</syncfusion:SfNavigationDrawer.ContentView>
</syncfusion:SfNavigationDrawer>
public MainWindow()
{
InitializeComponent();
SfNavigationDrawer navigationDrawer = new SfNavigationDrawer();
Label label = new Label();
label.Content = "Content View";
label.HorizontalAlignment = HorizontalAlignment.Center;
label.VerticalAlignment = VerticalAlignment.Center;
label.Height = 30;
label.Width = 150;
navigationDrawer.ContentView = label;
this.Content = navigationDrawer;
}
The Syncfusion WPF Navigation Drawer provides the following:
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.