-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.NavigationViewItem |
winrt class |
Represents the container for an item in a NavigationView control.
Note that you can only place NavigationViewItems in NavigationView.MenuItems.
Tip
For more info, design guidance, and code examples, see NavigationView.
[!div class="nextstepaction"] Open the WinUI 3 Gallery app and see the NavigationView in action
The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.
<NavigationViewItem .../>