Mouse.DoubleClick Method (MouseButtons)
Double-clicks the specified mouse button.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub DoubleClick ( _
button As MouseButtons _
)
public static void DoubleClick(
MouseButtons button
)
public:
static void DoubleClick(
MouseButtons button
)
static member DoubleClick :
button:MouseButtons -> unit
public static function DoubleClick(
button : MouseButtons
)
Parameters
- button
Type: System.Windows.Forms.MouseButtons
MouseButtons that will be used for double-clicking.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.