Share via


UITestActionExecutor.StopDragging Method (UITechnologyElement, Point, Boolean)

Stop drag operation on the control.

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

Syntax

'Declaration
Public MustOverride Sub StopDragging ( _
    control As UITechnologyElement, _
    coordinate As Point, _
    isDisplacement As Boolean _
)
public abstract void StopDragging(
    UITechnologyElement control,
    Point coordinate,
    bool isDisplacement
)
public:
virtual void StopDragging(
    UITechnologyElement^ control, 
    Point coordinate, 
    bool isDisplacement
) abstract
abstract StopDragging : 
        control:UITechnologyElement * 
        coordinate:Point * 
        isDisplacement:bool -> unit
public abstract function StopDragging(
    control : UITechnologyElement, 
    coordinate : Point, 
    isDisplacement : boolean
)

Parameters

  • coordinate
    Type: Point

    Co-ordinates either relative/absolute to the control to stop the dragging.

  • isDisplacement
    Type: Boolean

    if true, coordinate parameter represents no of pixels to stop the dragging. If false, coordinate parameter represents relative coordinate to control

.NET Framework Security

See Also

Reference

UITestActionExecutor Class

StopDragging Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace