Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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 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.

#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.

See Also