-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.NavigationViewItem.IsExpanded |
winrt property |
Gets or sets a value that indicates whether a tree node is expanded. Ignored if there are no menu items.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
true if the tree node is expanded; otherwise, false. The default value is false.
This property is analogous to the TreeViewItem.IsExpanded property.
<NavigationViewItem IsExpanded="True" .../>