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
- control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UITestControl to be double-clicked.
- modifierKeys
Type: System.Windows.Input.ModifierKeys
The ModifierKeys included with the double-click.
.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.