Export (0) Print
Expand All

Mouse.StartDraggingImplementation Method

Starts dragging the mouse while holding down the specified mouse buttons and the specified keys from the specified point 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)

protected virtual void StartDraggingImplementation(
	UITestControl control,
	MouseButtons button,
	ModifierKeys modifierKeys,
	Point relativeCoordinate
)

Parameters

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

UITestControl from which to start dragging.

button
Type: MouseButtons

MouseButtons to be pressed while dragging.

modifierKeys
Type: ModifierKeys

ModifierKeys to be pressed while dragging.

relativeCoordinate
Type: Point

Coordinates that are relative to the control to start dragging. If control is null, the relativeCoordinate specifies an absolute coordinate.

Show:
© 2015 Microsoft