Version

DragDropMode Property

Sets or gets value that determines if drag data will be moved, copied or either based on user preference when the drag and drop completes. If set to DragDropMode.Move, dragged data will always be moved when a drop occurs, meaning that the original source data will be removed from the source tree and then added to the destination tree. If set to DragDropMode.Copy, drag data will always be copied when a drop occurs, meaning that the original source data will be retained in the source tree and a copy of it will be added to the destination tree. By default this property is set to DragDropMode.Default.
Syntax
'Declaration
 
Public Property DragDropMode As DragDropMode
public DragDropMode DragDropMode {get; set;}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also