DXCollectionView.GetChildItemCount(Int32) Method
In This Article
Returns the number of data items in the group.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
#Declaration
C#
public int GetChildItemCount(
int groupItemHandle
)
#Parameters
Name | Type | Description |
---|---|---|
group |
Int32 | The group header handle or group index. |
#Returns
Type | Description |
---|---|
Int32 | The number of items in the group. |
#Remarks
Pass the group header handle (a negative integer, starting from -1) or the group’s zero-based index within the CollectionView’s collection of groups as a parameter to the GetChildItemCount method.
To obtain the handle of the specified child item, use the GetChildItemHandle method. A child item is identified by its visible index (position) within the specified group.
See Also