Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXCollectionView.GetChildItemCount(Int32) Method

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

CollectionView Item Handles

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