HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

Level Property, ItemClass Class

Returns the item's level number.

Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public int Level { get; }
Public ReadOnly Property Level As Integer

Value

The level.

Comments

Returns the item's level number.

The root (or highest) level is level 0, dependents are on levels 1, 2, 3 and lower. The first item in the tree control is always at level 0.

An item's level number is determined by its position in the hierarchy represented by all items. The Level property determines the "indentation" of an item.

See Also ItemClass Class | Classes | SftTree/NET 3.0