Back to Devexpress

DataGridView.GetParentRowHandle(Int32) Method

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-dot-getparentrowhandle-x28-system-dot-int32-x29.md

latest1.3 KB
Original Source

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

csharp
public int GetParentRowHandle(
    int rowHandle
)

Parameters

NameTypeDescription
rowHandleInt32

The data row handle.

|

Returns

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

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace