Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 969 Bytes

navigationviewitem_isexpanded.md

File metadata and controls

39 lines (20 loc) · 969 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.NavigationViewItem.IsExpanded
winrt property

Microsoft.UI.Xaml.Controls.NavigationViewItem.IsExpanded

-description

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).

-property-value

true if the tree node is expanded; otherwise, false. The default value is false.

-remarks

This property is analogous to the TreeViewItem.IsExpanded property.

-see-also

-xaml-syntax

<NavigationViewItem IsExpanded="True" .../>