Compartilhar via


Método Mouse.StartDragging (UITestControl, MouseButtons)

Começa a arrastar o mouse enquanto pressiona os botões do mouse especificada do controle especificado.

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

Sintaxe

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

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Sobrecargas StartDragging

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl

MouseButtons