Compartilhar via


Método Mouse.StopDragging (UITestControl, Point)

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, _
    relativeCoordinate As Point _
)
public static void StopDragging(
    UITestControl control,
    Point relativeCoordinate
)
public:
static void StopDragging(
    UITestControl^ control, 
    Point relativeCoordinate
)
static member StopDragging : 
        control:UITestControl * 
        relativeCoordinate:Point -> unit 
public static function StopDragging(
    control : UITestControl, 
    relativeCoordinate : Point
)

Parâmetros

  • relativeCoordinate
    Tipo: System.Drawing.Point
    Coordenadas são relativas ao controle para parar a arrastar.

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Sobrecargas StopDragging

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl