BaseRow.Level Property
Gets the row’s nesting level.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
#Declaration
#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.