Mouse.StopDragging Method (UITestControl, Point)

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, _
    relativeCoordinate As Point _
)
public static void StopDragging(
    UITestControl control,
    Point relativeCoordinate
)
public:
static void StopDragging(
    UITestControl^ control, 
    Point relativeCoordinate
)
static member StopDragging : 
        control:UITestControl * 
        relativeCoordinate:Point -> unit 
public static function StopDragging(
    control : UITestControl, 
    relativeCoordinate : Point
)

Parameters

  • relativeCoordinate
    Type: System.Drawing.Point
    Coordinates that are relative to the control to stop the dragging.

.NET Framework Security

See Also

Reference

Mouse Class

StopDragging Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl