Share via


NavigationView.Collapse(NavigationViewItem) Method

Definition

Collapses the specified node in the tree.

void Collapse(NavigationViewItem const& item);
public void Collapse(NavigationViewItem item);
function collapse(item)
Public Sub Collapse (item As NavigationViewItem)

Parameters

item
NavigationViewItem

The node to be collapsed.

Remarks

Analogous to TreeView.Collapse

Applies to