Skip to main content

DataGridView.GetParentRowHandle(Int32) Method

Returns the group row handle that identifies the group to which the specified data row belongs.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public int GetParentRowHandle(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

The data row handle.

Returns

Type Description
Int32

The group row handle.

Remarks

Grid rows are identified by unique integer values - row handles.

  • Data row handles are zero-based indexes that correspond to row order from top to bottom.
  • Group row handles are negative values that start with -1. The order matches group row order from top to bottom.

Grid Row Handles

See Also