GridControl.GetChildRowCount(Int32) Method
In This Article
Returns the number of child rows (group or data) contained within the specified group row.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value that specifies the group row's handle. |
#Returns
Type | Description |
---|---|
Int32 | An integer value that specifies the number of child rows contained within the specified group row. |
#Remarks
Group row handles are negative (start from -1). If the specified handle doesn't correspond to a group row, the GetChildRowCount method returns 0.
To obtain the handle of the specified child row, use the GridControl.GetChildRowHandle method. A child row is identified by its visible index (position) within the specified group row.
To learn more, see Identifying Rows.
See Also