Skip to main content

GridView.DragObjectDrop Event

Fires immediately after a drag and drop operation on a column header or band header has been completed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public event DragObjectDropEventHandler DragObjectDrop

Event Data

The DragObjectDrop event's data class is DragObjectDropEventArgs. The following properties provide information specific to this event:

Property Description
Canceled Gets whether the dragged header has been dropped successfully.
DragObject Gets the column or band whose header has been dropped.
DropInfo Gets an object providing information about drop position.


Handle the DragObjectDrop event to perform actions when end-users finish dragging column and band headers. This can be used, for instance, to do any cleanup necessary after handling the GridView.DragObjectStart event.

The event serves only as a notification that the operation has been completed. To control whether headers can be dropped at a particular position, handle the GridView.DragObjectOver event.

For general information on handling header dragging, see the GridView.DragObjectStart topic.

See Also