Fires when an object is dropped onto the editor.
[DXCategory("Events")] public event DragEventHandler DragDrop
<DXCategory("Events")> Public Event DragDrop As DragEventHandler
The DragDrop event's data class is DragEventArgs. The following properties provide information specific to this event:
|AllowedEffect||Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.|
|Data||Gets the IDataObject that contains the data associated with this event.|
|Effect||Gets or sets the target drop effect in a drag-and-drop operation.|
|KeyState||Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.|
|X||Gets the x-coordinate of the mouse pointer, in screen coordinates.|
|Y||Gets the y-coordinate of the mouse pointer, in screen coordinates.|
If dropping is allowed by the RepositoryItem.DragEnter and RepositoryItem.DragOver event handlers, it can be handled using the DragDrop event. This implies inserting the dragged data into the target control. Use the event's Data parameter to determine which data should be used to modify the editor's value.