C1.WPF Namespace > C1DragDropManager Class : DoDragDrop Method |
'Declaration
Public Sub DoDragDrop( _ ByVal source As UIElement, _ ByVal e As MouseEventArgs, _ ByVal effect As DragDropEffect _ )
'Usage
Dim instance As C1DragDropManager Dim source As UIElement Dim e As MouseEventArgs Dim effect As DragDropEffect instance.DoDragDrop(source, e, effect)
public void DoDragDrop( UIElement source, MouseEventArgs e, DragDropEffect effect )
public: void DoDragDrop( UIElement^ source, MouseEventArgs^ e, DragDropEffect effect )
The e is not strictly required, but is usually available since drag drop operations are initiated by mouse actions. If you don't have a System.Windows.Input.MouseEventArgs to provide, pass null instead.
The method causes the drag operation to start, then returns immediately. The caller is responsible for monitoring and completing the operation using the DragStart, DragEnter, DragOver, and DragDrop events.
Target Platforms: 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