TreeViewNode.Children Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The collection of nodes that are children of the current node. The default is an empty collection.