Skip to main content

GridControl.GetRowLevelByVisibleIndex(Int32) Method

Returns the specified row’s grouping level.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public int GetRowLevelByVisibleIndex(
    int visibleIndex
)

Parameters

Name Type Description
visibleIndex Int32

An integer value that specifies the row’s visible position within a View.

Returns

Type Description
Int32

An integer value that specifies the row’s grouping level.

Remarks

Use the GetRowLevelByVisibleIndex method to determine at which grouping level the specified row resides.

GroupLevels

To learn more, see Processing Group Rows.

See Also