BaseRow.Level Property

Gets the row's nesting level.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[Browsable(false)]
public int Level { get; }
<Browsable(False)>
Public ReadOnly Property Level As Integer

Property Value

Type Description
Int32

An integer value representing the row's zero-based nesting level.

Remarks

Rows can be organized in a tree-like structure. Root rows are contained within the control's VGridControlBase.Rows collection. The Level property for these rows returns 0. Each row can contain child rows that are stored within its BaseRow.ChildRows collection. The Level property for a root row's immediate children returns 1, the immediate children's children 2 and so on.

Refer to the Rows topic for additional information.

See Also