Skip to main content

DXCollectionView.GetChildItemCount(Int32) Method

Returns the number of data items in the group.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.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