DataGridView.GetChildRowHandle(Int32, Int32) Method
Returns the handle of a row at the specified position within the specified group.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public int GetChildRowHandle(
int groupRowHandle,
int childIndex
)
Parameters
Name | Type | Description |
---|---|---|
groupRowHandle | Int32 | A negative integer starting with -1 that specifies a group row handle. |
childIndex | Int32 | A zero-based integer that specifies a data row’s position within the group. |
Returns
Type | Description |
---|---|
Int32 | A row handle. |
Remarks
The GetChildRowHandle(Int32, Int32)
method allows you to obtain a data row handle. Pass the group row handle as the first parameter and the zero-based index of the data row in this group as the second parameter.
If the specified group row handle does not exist or the specified group does not contain a data row at the specified position, the GetChildRowHandle(Int32, Int32)
method returns the InvalidRowHandle property value.
The GetChildRowCount(Int32) method allows you to obtain the number of data rows within a specific group. This method accepts a group row handle as a parameter. Group row handles are integer numbers in reverse order starting with -1.
Note
Do not confuse handles for data and group rows. Data row handles are integer numbers in direct order starting with zero.