Method DoDragDrop
DoDragDrop(object, DragDropEffects)
Begins a drag-and-drop operation.
public virtual DragDropEffects DoDragDrop(object data, DragDropEffects allowedEffects)
Parameters
data
objectThe data to drag.
allowedEffects
DragDropEffectsOne of the DragDropEffects values.
Returns
- DragDropEffects
A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Remarks
Begins a drag operation. The allowedEffects
determine which drag operations can occur.