System.Windows.Forms.TreeNode.Level Property

Gets the zero-based depth of the tree node in the System.Windows.Forms.TreeView control.

Syntax

[System.ComponentModel.Browsable(false)]
public int Level { get; }

Value

Documentation for this section has not yet been entered.

Remarks

For the TreeNode.Level property, the root node is considered the first level of nesting and returns 0.

Requirements

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