'Declaration
Public Property DragMode As DragModeEnum
public DragModeEnum DragMode {get; set;}
'Declaration
Public Property DragMode As DragModeEnum
public DragModeEnum DragMode {get; set;}
This property allows you to use the control as a source for OLE drag-drop operations. If set to any of the automatic settings, the control provides the following services:
1) Detect when the mouse is near the edge of a selected cell or range and display the OLE drag cursor.
2) If the user clicks the mouse while the OLE drag cursor is displayed, initiate a drag operation with a data object containing the current selection.
In manual mode, the programmer is responsible for starting drag-drop operations using the System.Windows.Forms.Control.DoDragDrop(System.Object,System.Windows.Forms.DragDropEffects) method.