We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Mouse.StopDragging Method (UITestControl)

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
)

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl on which dragging is to be stopped.

Show: