편집

다음을 통해 공유


TreeNode.Level Property

Definition

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

public:
 property int Level { int get(); };
[System.ComponentModel.Browsable(false)]
public int Level { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Level : int
Public ReadOnly Property Level As Integer

Property Value

The zero-based depth of the tree node in the TreeView control.

Attributes

Remarks

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

Applies to