Mouse.DoubleClick Method (UITestControl, MouseButtons)

Double-clicks the specified mouse button on the specified control.

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

public static void DoubleClick(
	UITestControl control,
	MouseButtons button
)

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl to be double-clicked.
button
Type: System.Windows.Forms.MouseButtons
MouseButtons that will be used for double-clicking.

Community Additions

ADD
Show: