[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TControl.OnEndDock

Event handler signalled for the end of a drag-dock operation.

## Declaration

Source position: controls.pp line 1587

`protected property TControl.OnEndDock : TEndDragEvent read FOnEndDock write FOnEndDock;`

## Description

OnEndDock is a TEndDragEvent property with the event handler signalled when a drag-dock operation is ended. It occurs when the EndDrag method is called for the active drag object in the DragManager.

Use OnEndDrag to perform actions needed when a drag-drop operation is ended.

## See also

TControl.OnEndDrag |  | Event handler signalled for the end of a drag-drop operation.
TEndDragEvent |  | The type of an OnEndDrag handler.
TDragDockObject.EndDrag |  | Finish docking.
TDragManager |  | The abstract base class used to manage dragging of controls (for drop or dock operations).
DragManager |  | The current DragManager (always TDragManagerDefault).