Export (0) Print
Expand All

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)

public static void StopDragging(
	UITestControl control,
	int moveByX,
	int moveByY
)

Parameters

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

UITestControl on which dragging is to be stopped.

moveByX
Type: Int32

Move by the specified pixels in X direction.

moveByY
Type: Int32

Move by the specified pixels in Y direction.

Show:
© 2014 Microsoft