Partilhar via


Método Mouse.StopDragging (UITestControl, Int32, Int32)

Pára a operação de arrastar o controle especificado.

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

Sintaxe

'Declaração
Public Shared Sub StopDragging ( _
    control As UITestControl, _
    moveByX As Integer, _
    moveByY As Integer _
)
public static void StopDragging(
    UITestControl control,
    int moveByX,
    int moveByY
)
public:
static void StopDragging(
    UITestControl^ control, 
    int moveByX, 
    int moveByY
)
static member StopDragging : 
        control:UITestControl * 
        moveByX:int * 
        moveByY:int -> unit 
public static function StopDragging(
    control : UITestControl, 
    moveByX : int, 
    moveByY : int
)

Parâmetros

  • moveByX
    Tipo: System.Int32
    Move os pixels especificados no x direção.
  • moveByY
    Tipo: System.Int32
    Move os pixels especificados na direção Y.

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Sobrecargas StopDragging

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl