Condividi tramite


Metodo Mouse.StartDragging (UITestControl, MouseButtons)

Inizia a trascinare il mouse dal controllo specificato tenendo premuti i pulsanti del mouse specificati.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Mouse Classe

Overload StartDragging

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

UITestControl

MouseButtons