FormControl.dragDrop Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| dragDrop() | Determines whether drag-and-drop operations are enabled or disabled for the control. | 
| dragDrop(Int32) | 
dragDrop()
Determines whether drag-and-drop operations are enabled or disabled for the control.
public:
 virtual int dragDrop();public virtual int dragDrop();abstract member dragDrop : unit -> int
override this.dragDrop : unit -> intPublic Overridable Function dragDrop () As IntegerReturns
1 if drag and drop operations are enabled; otherwise, false.
Remarks
The following example shows how to return or set the value that indicates whether drag-and-drop behavior is enabled.
boolean dDragDrop; 
// The ctrl variable was previously assigned  
// as a FormControl value. 
// Retrieve the drag-and-drop-enabled value. 
dDragDrop = ctrl.dragDrop(); 
// Set the drag and drop-enabled value. 
ctrl.dragDrop(true);
Applies to
dragDrop(Int32)
public:
 virtual int dragDrop(int _value);public virtual int dragDrop(int _value);abstract member dragDrop : int -> int
override this.dragDrop : int -> intPublic Overridable Function dragDrop (_value As Integer) As IntegerParameters
- _value
- Int32
An integer value that indicates whether drag-and-drop behavior is enabled; optional.