Export (0) Print
Expand All

Mouse.StartDragging Method (UITestControl, Point)

Starts dragging the mouse from the specified point that is relative to the specified control or from an absolute control, if control is null.

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

public static void StartDragging(
	UITestControl control,
	Point relativeCoordinate
)

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl from which to start dragging.
relativeCoordinate
Type: System.Drawing.Point
Coordinates that are relative to the control to start dragging. If control is null, the relativeCoordinate specifies an absolute coordinate.

Community Additions

ADD
Show:
© 2015 Microsoft