Mouse.StopDragging Method (UITestControl, Int32, Int32)

Stops the drag operation on the specified control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Shared Sub StopDragging ( _
    control As UITestControl, _
    moveByX As Integer, _
    moveByY As Integer _
)
public static void StopDragging(
    UITestControl control,
    int moveByX,
    int moveByY
)
public:
static void StopDragging(
    UITestControl^ control, 
    int moveByX, 
    int moveByY
)
static member StopDragging : 
        control:UITestControl * 
        moveByX:int * 
        moveByY:int -> unit 
public static function StopDragging(
    control : UITestControl, 
    moveByX : int, 
    moveByY : int
)

Parameters

  • moveByX
    Type: System.Int32
    Move by the specified pixels in X direction.
  • moveByY
    Type: System.Int32
    Move by the specified pixels in Y direction.

.NET Framework Security

See Also

Reference

Mouse Class

StopDragging Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl