Back to Devexpress

BaseRow.Level Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-baserow-af2781df.md

latest2.0 KB
Original Source

BaseRow.Level Property

Gets the row’s nesting level.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

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

Property Value

TypeDescription
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

Rows

Rows

BaseRow Class

BaseRow Members

DevExpress.XtraVerticalGrid.Rows Namespace