Share via


TreeView.RootNodes Property

Definition

Overloads

RootNodes

Gets or sets the collection of root nodes of the tree.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RootNodes

Gets or sets the collection of root nodes of the tree.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property IVector<TreeViewNode ^> ^ RootNodes { IVector<TreeViewNode ^> ^ get(); };
IVector<TreeViewNode> RootNodes();
public IList<TreeViewNode> RootNodes { get; }
Public ReadOnly Property RootNodes As IList(Of TreeViewNode)

Property Value

The collection of root nodes of the tree.

Applies to