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)

Syntax

'Declaration
Public Shared Sub DoubleClick ( _
    button As MouseButtons, _
    modifierKeys As ModifierKeys, _
    screenCoordinates As Point _
)
public static void DoubleClick(
    MouseButtons button,
    ModifierKeys modifierKeys,
    Point screenCoordinates
)
public:
static void DoubleClick(
    MouseButtons button, 
    ModifierKeys modifierKeys, 
    Point screenCoordinates
)
static member DoubleClick : 
        button:MouseButtons * 
        modifierKeys:ModifierKeys * 
        screenCoordinates:Point -> unit
public static function DoubleClick(
    button : MouseButtons, 
    modifierKeys : ModifierKeys, 
    screenCoordinates : Point
)

Parameters

  • modifierKeys
    Type: ModifierKeys

    ModifierKeys keys to be pressed while double-clicking.

  • screenCoordinates
    Type: Point

    Point on the screen to double-click.

.NET Framework Security

See Also

Reference

Mouse Class

DoubleClick Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

MouseButtons

ModifierKeys

Point