maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-e7ec9b2c.md
Occurs when a user drops an item.
Namespace : DevExpress.Maui.CollectionView
Assembly : DevExpress.Maui.CollectionView.dll
NuGet Package : DevExpress.Maui.CollectionView
public event EventHandler<DropItemEventArgs> DropItem
The DropItem event's data class is DropItemEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs. |
| DragItem | Gets the underlying data object of the processed item. Inherited from DragItemEventArgs. |
| DropItem | Gets the underlying object of the dropped item. |
| DropItemHandle | Gets or sets the handle of the hovered item. |
| ItemHandle | Returns the handle of the processed item. Inherited from CancelItemEventArgs. |
You can prevent items from being dropped in specific positions. In this case, a place for the item drop is allocated, but the item returns to its initial position when it is released.
See Also