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.DoubleClick Method (MouseButtons, ModifierKeys, Point)

Double-clicks the specified mouse button while holding the specified modifier keys at the specified screen location.

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

public static void DoubleClick(
	MouseButtons button,
	ModifierKeys modifierKeys,
	Point screenCoordinates
)

Parameters

button
Type: System.Windows.Forms.MouseButtons
MouseButtons to double-click.
modifierKeys
Type: System.Windows.Input.ModifierKeys
ModifierKeys keys to be pressed while double-clicking.
screenCoordinates
Type: System.Drawing.Point
Point on the screen to double-click.

Community Additions

ADD
Show:
© 2015 Microsoft