DXCollectionView.DropItem Event
Occurs when a user drops an item.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
#Declaration
public event EventHandler<DropItemEventArgs> DropItem
#Event Data
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 Cancel |
Drag |
Gets the underlying data object of the processed item.
Inherited from Drag |
Drop |
Gets the underlying object of the dropped item. |
Drop |
Gets or sets the handle of the hovered item. |
Item |
Returns the handle of the processed item.
Inherited from Cancel |
#Remarks
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.