Mouse.DoubleClick Method (UITestControl, ModifierKeys)

Double-clicks the default mouse button on the control with modifiers.

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

Syntax

'Declaration
Public Shared Sub DoubleClick ( _
    control As UITestControl, _
    modifierKeys As ModifierKeys _
)
public static void DoubleClick(
    UITestControl control,
    ModifierKeys modifierKeys
)
public:
static void DoubleClick(
    UITestControl^ control, 
    ModifierKeys modifierKeys
)
static member DoubleClick : 
        control:UITestControl * 
        modifierKeys:ModifierKeys -> unit
public static function DoubleClick(
    control : UITestControl, 
    modifierKeys : ModifierKeys
)

Parameters

  • modifierKeys
    Type: ModifierKeys

    The ModifierKeys included with the double-click.

.NET Framework Security

See Also

Reference

Mouse Class

DoubleClick Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

ModifierKeys