Skip to main content

BaseRow.Level Property

Gets the row’s nesting level.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v22.2.dll

NuGet Package: DevExpress.Win.VerticalGrid


public int Level { get; }

Property Value

Type Description

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


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