maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-dot-getchildrowcount-x28-system-dot-int32-x29.md
Returns the number of data rows in a specific group.
Namespace : DevExpress.Maui.DataGrid
Assembly : DevExpress.Maui.DataGrid.dll
NuGet Package : DevExpress.Maui.DataGrid
public int GetChildRowCount(
int groupRowHandle
)
| Name | Type | Description |
|---|---|---|
| groupRowHandle | Int32 |
An integer value starting with -1 that specifies a group row handle.
|
| Type | Description |
|---|---|
| Int32 |
An integer value that specifies the number of rows in a group.
|
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.
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.
See Also