DXCollectionView.GetChildItemHandle(Int32, Int32) Method
Returns the handle of the item at the specified position within the specified group.
Namespace: DevExpress.XamarinForms.CollectionView
Assembly: DevExpress.XamarinForms.CollectionView.dll
NuGet Package: DevExpress.XamarinForms.CollectionView
Declaration
public int GetChildItemHandle(
int groupItemHandle,
int childIndex
)
Parameters
Name | Type | Description |
---|---|---|
groupItemHandle | Int32 | The group header handle (a negative integer, starting from -1) or the group’s zero-based index within the CollectionView’s collection of groups. |
childIndex | Int32 | A zero-based integer that specifies the data item’s position within the group. |
Returns
Type | Description |
---|---|
Int32 | The item handle. |
Remarks
The GetChildItemHandle method returns an invalid item handle (DXCollectionView.InvalidItemHandle) if the specified group does not contain a data item at the specified position (the GetChildItemCount method returns the number of items in the group). An invalid item handle is also returned if the specified group header handle (or the group’s index) does not exist.