System.Windows.Forms.TreeView.Nodes Property

Gets the collection of tree nodes that are assigned to the tree view control.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.MergableProperty(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public TreeNodeCollection Nodes { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TreeView.Nodes property holds a collection of System.Windows.Forms.TreeNode objects, each of which has a TreeNode.Nodes property that can contain its own System.Windows.Forms.TreeNodeCollection. This nesting of tree nodes can make it difficult to navigate a tree structure, but the TreeNode.FullPath property makes it easier to determine your location within the tree structure.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0