TreeViewNode.Children Property

Definition

Gets the collection of nodes that are children of the current node.

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

public:
 property IVector<TreeViewNode ^> ^ Children { IVector<TreeViewNode ^> ^ get(); };
IVector<TreeViewNode> Children();
public IList<TreeViewNode> Children { get; }
var iVector = treeViewNode.children;
Public ReadOnly Property Children As IList(Of TreeViewNode)

Property Value

IVector<TreeViewNode>

IList<TreeViewNode>

The collection of nodes that are children of the current node. The default is an empty collection.

Applies to