Back to Devexpress

DXCollectionView.GetChildItemCount(Int32) Method

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-dot-getchilditemcount-x28-system-dot-int32-x29.md

latest1.6 KB
Original Source

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

csharp
public int GetChildItemCount(
    int groupItemHandle
)

Parameters

NameTypeDescription
groupItemHandleInt32

The group header handle or group index.

|

Returns

TypeDescription
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

DXCollectionView Class

DXCollectionView Members

DevExpress.Maui.CollectionView Namespace