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

TcxCustomGridView.OnEndDrag Event

In This Article

Occurs when finishing dragging an object.

#Declaration

Delphi
property OnEndDrag: TEndDragEvent read; write;

#Remarks

The OnEndDrag event occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. Use the OnEndDrag event handler to specify any special processing that occurs when dragging stops.

X and Y specify the coordinates of the event relative to the target control which has accepted the dropped object. The target control is passed as the Target parameter. If Target is set to NIL, the dragged object was rejected.

The Sender parameter provides the grid site (TcxGridSite) object referring to the current View. If the target of the drag-and-drop event is a grid View, the Target parameter is also a grid site. A grid site is a control which owns Views, processes mouse and keyboard events and paints Views. To access the View displayed by a site object, see the TcxGridSite.GridView property.

See Also