Mouse.DoubleClickImplementation Method
Double-clicks the specified mouse button on the specified control while holding the specified modifier keys at the specified location that is relative to that control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Protected Overridable Sub DoubleClickImplementation ( _
control As UITestControl, _
button As MouseButtons, _
modifierKeys As ModifierKeys, _
relativeCoordinate As Point _
)
protected virtual void DoubleClickImplementation(
UITestControl control,
MouseButtons button,
ModifierKeys modifierKeys,
Point relativeCoordinate
)
protected:
virtual void DoubleClickImplementation(
UITestControl^ control,
MouseButtons button,
ModifierKeys modifierKeys,
Point relativeCoordinate
)
abstract DoubleClickImplementation :
control:UITestControl *
button:MouseButtons *
modifierKeys:ModifierKeys *
relativeCoordinate:Point -> unit
override DoubleClickImplementation :
control:UITestControl *
button:MouseButtons *
modifierKeys:ModifierKeys *
relativeCoordinate:Point -> unit
protected function DoubleClickImplementation(
control : UITestControl,
button : MouseButtons,
modifierKeys : ModifierKeys,
relativeCoordinate : Point
)
Parameters
- control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl to be double-clicked.
- button
Type: System.Windows.Forms.MouseButtons
MouseButtons that will be used for double-clicking.
- modifierKeys
Type: System.Windows.Input.ModifierKeys
ModifierKeys to be pressed while double-clicking.
- relativeCoordinate
Type: System.Drawing.Point
The point location that is relative to the control. If control is nulla null reference (Nothing in Visual Basic), the relativeCoordinate specifies an absolute coordinate.
.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.