Back to Devexpress

GridControl.GetRowLevelByVisibleIndex(Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-getrowlevelbyvisibleindex-x28-system-dot-int32-x29.md

latest1.8 KB
Original Source

GridControl.GetRowLevelByVisibleIndex(Int32) Method

Returns the specified row’s grouping level.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
visibleIndexInt32

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

|

Returns

TypeDescription
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.

To learn more, see Processing Group Rows.

See Also

GetRowLevelByRowHandle(Int32)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace