Share this page

DragAndDrop Method
Drags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.

C# 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.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: