Skip to main content
A newer version of this page is available. .

GridControl.GetRowLevelByVisibleIndex(Int32) Method

Returns the specified row’s grouping level.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll

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