ActionsPane.DoDragDrop(Object, DragDropEffects) Method

Definition

Begins a drag-and-drop operation.

public:
 System::Windows::Forms::DragDropEffects DoDragDrop(System::Object ^ data, System::Windows::Forms::DragDropEffects allowedEffects);
public System.Windows.Forms.DragDropEffects DoDragDrop (object data, System.Windows.Forms.DragDropEffects allowedEffects);
abstract member DoDragDrop : obj * System.Windows.Forms.DragDropEffects -> System.Windows.Forms.DragDropEffects
Public Function DoDragDrop (data As Object, allowedEffects As DragDropEffects) As DragDropEffects

Parameters

data
Object

The data to drag.

allowedEffects
DragDropEffects

One of the DragDropEffects values.

Returns

A value that represents the final effect that was performed during the drag-and-drop operation.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.DoDragDrop method. For more information about using this method, see System.Windows.Forms.Control.DoDragDrop.

Applies to