DoubleClickImplementation Method

Mouse.DoubleClickImplementation Method

Double-clicks the specified mouse button on the specified control while holding the specified modifier keys at the specified location that is relative to that control.

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

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

Parameters

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

UITestControl to be double-clicked.

button
Type: MouseButtons

MouseButtons that will be used for double-clicking.

modifierKeys
Type: ModifierKeys

ModifierKeys to be pressed while double-clicking.

relativeCoordinate
Type: Point

The point location that is relative to the control. If control is null, the relativeCoordinate specifies an absolute coordinate.

Show:
© 2016 Microsoft