Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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