TreeView.RootNodes 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 or sets the collection of root nodes of the tree.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.RootNodes (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; }
var iVector = treeView.rootNodes;
Public ReadOnly Property RootNodes As IList(Of TreeViewNode)
Property Value
The collection of root nodes of the tree.