Share via


Mouse.StopDraggingImplementation Method

Stops the drag operation on the specified control.

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

Syntax

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

Parameters

  • coordinate
    Type: Point

    Coordinates that are either relative or absolute to the control to stop the dragging.

  • isDisplacement
    Type: Boolean

    If true, coordinate represents the number of pixels to stop the dragging. If false, coordinate represents coordinates relative to the control.

.NET Framework Security

See Also

Reference

Mouse Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl