Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public static void StopDragging(
	UITestControl control,
	Point relativeCoordinate
)

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

UITestControl on which dragging is to be stopped.

relativeCoordinate
Type: System.Drawing.Point

Coordinates that are relative to the control to stop the dragging.

Return to top
Show: