Método Mouse.StopDraggingImplementation

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
Protected Overridable Sub StopDraggingImplementation ( _
    control As UITestControl, _
    coordinate As Point, _
    isDisplacement As Boolean _
)
protected virtual void StopDraggingImplementation(
    UITestControl control,
    Point coordinate,
    bool isDisplacement
)
protected:
virtual void StopDraggingImplementation(
    UITestControl^ control, 
    Point coordinate, 
    bool isDisplacement
)
abstract StopDraggingImplementation : 
        control:UITestControl * 
        coordinate:Point * 
        isDisplacement:bool -> unit 
override StopDraggingImplementation : 
        control:UITestControl * 
        coordinate:Point * 
        isDisplacement:bool -> unit 
protected function StopDraggingImplementation(
    control : UITestControl, 
    coordinate : Point, 
    isDisplacement : boolean
)

Parâmetros

  • coordinate
    Tipo: System.Drawing.Point
    Coordenadas são relativo ou absoluto para o controle para parar a arrastar.
  • isDisplacement
    Tipo: System.Boolean
    Se true, coordinate representa o número de pixels para parar de arrastar a.Se false, coordinate representa as coordenadas relativas ao control.

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl