Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

[Browsable(false)]
public int Level { get; }

#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