Share via


TreeView.Expand(TreeViewNode) Method

Definition

Expands the specified node in the tree.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.Expand (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

void Expand(TreeViewNode const& value);
public void Expand(TreeViewNode value);
function expand(value)
Public Sub Expand (value As TreeViewNode)

Parameters

value
TreeViewNode

The tree node to expand.

Applies to