Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Mouse.StopDraggingImplementation Method

Stops the drag operation on the specified control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

protected virtual void StopDraggingImplementation(
	UITestControl control,
	Point coordinate,
	bool isDisplacement
)

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl on which dragging is to be stopped.
coordinate
Type: System.Drawing.Point
Coordinates that are either relative or absolute to the control to stop the dragging.
isDisplacement
Type: System.Boolean
If true, coordinate represents the number of pixels to stop the dragging. If false, coordinate represents coordinates relative to the control.

Community Additions

ADD
Show:
© 2015 Microsoft