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
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.