Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.doDragDrop

Begins a drag-and-drop operation.

Syntax

public final int doDragDrop( Object data**, int** allowedEffects )

Parameters

data

An object that represents contains the data to drag and drop. If the drag-and-drop operation involves moving data between applications in different processes, the data parameter should be either an object that implements com.ms.wfc.core.Ipersistable or an object that implements com.ms.wfc.app.IDataObject.

allowedEffects

An integer specifying which drag-and-drop operations are allowed. Possible values are obtained by applying the bitwise OR operation (|) to the constants defined in the DragDropEffect class.

Return Value

Returns an integer that indicates the final effect of the drag operation. Possible return values are values obtained by applying the bitwise OR operation (|) to the constants defined in the DragDropEffect class.