Compartilhar via


Método Mouse.DoubleClick (UITestControl, MouseButtons, ModifierKeys, Point)

Clica duas vezes no botão do mouse especificada no controle especificado enquanto pressiona as teclas modificadoras especificado no local especificado em relação a esse controle.

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

Sintaxe

'Declaração
Public Shared Sub DoubleClick ( _
    control As UITestControl, _
    button As MouseButtons, _
    modifierKeys As ModifierKeys, _
    relativeCoordinates As Point _
)
public static void DoubleClick(
    UITestControl control,
    MouseButtons button,
    ModifierKeys modifierKeys,
    Point relativeCoordinates
)
public:
static void DoubleClick(
    UITestControl^ control, 
    MouseButtons button, 
    ModifierKeys modifierKeys, 
    Point relativeCoordinates
)
static member DoubleClick : 
        control:UITestControl * 
        button:MouseButtons * 
        modifierKeys:ModifierKeys * 
        relativeCoordinates:Point -> unit 
public static function DoubleClick(
    control : UITestControl, 
    button : MouseButtons, 
    modifierKeys : ModifierKeys, 
    relativeCoordinates : Point
)

Parâmetros

  • relativeCoordinates
    Tipo: System.Drawing.Point
    Ponto em que é relativa ao controle seja clicado duas vezes.

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Sobrecargas DoubleClick

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl

MouseButtons

ModifierKeys