GridControl.GetRowLevelByVisibleIndex(Int32) Method

Returns the specified row's grouping level.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public int GetRowLevelByVisibleIndex(
    int visibleIndex
)
Public Function GetRowLevelByVisibleIndex(
    visibleIndex As Integer
) As Integer

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