UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
DragAndDrop Method
The System.Drawing.Point from which to perform the drag and drop operation.
The System.Drawing.Point where the drag ends and the mouse button is released.
Optional. The mouse button that is pressed during the drag operation. Possible Values: MouseButton. Default = MouseButton.Left.
Drags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.
Syntax
public static void DragAndDrop( 
   Point fromPoint,
   Point toPoint,
   MouseButton button
)

Parameters

fromPoint
The System.Drawing.Point from which to perform the drag and drop operation.
toPoint
The System.Drawing.Point where the drag ends and the mouse button is released.
button
Optional. The mouse button that is pressed during the drag operation. Possible Values: MouseButton. Default = MouseButton.Left.