Compartilhar via


Método Mouse.ClickImplementation

Clica 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
Protected Overridable Sub ClickImplementation ( _
    control As UITestControl, _
    button As MouseButtons, _
    modifierKeys As ModifierKeys, _
    relativeCoordinate As Point _
)
protected virtual void ClickImplementation(
    UITestControl control,
    MouseButtons button,
    ModifierKeys modifierKeys,
    Point relativeCoordinate
)
protected:
virtual void ClickImplementation(
    UITestControl^ control, 
    MouseButtons button, 
    ModifierKeys modifierKeys, 
    Point relativeCoordinate
)
abstract ClickImplementation : 
        control:UITestControl * 
        button:MouseButtons * 
        modifierKeys:ModifierKeys * 
        relativeCoordinate:Point -> unit 
override ClickImplementation : 
        control:UITestControl * 
        button:MouseButtons * 
        modifierKeys:ModifierKeys * 
        relativeCoordinate:Point -> unit 
protected function ClickImplementation(
    control : UITestControl, 
    button : MouseButtons, 
    modifierKeys : ModifierKeys, 
    relativeCoordinate : Point
)

Parâmetros

  • relativeCoordinate
    Tipo: System.Drawing.Point
    Coordenadas são relativas ao controle.Se control é nulluma referência nula (Nothing no Visual Basic), o relativeCoordinate Especifica coordenadas absolutas.

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl

MouseButtons

ModifierKeys

Point