Share via


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

  • button
    Type: MouseButtons

    MouseButtons that will be used for double-clicking.

  • modifierKeys
    Type: ModifierKeys

    ModifierKeys to be pressed while double-clicking.

  • relativeCoordinate
    Type: 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

See Also

Reference

Mouse Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

MouseButtons

ModifierKeys