DragDropAction Constructor (UITechnologyElement, UITechnologyElement, MouseButtons)

 

Initializes a new instance of the DragDropAction class by using the provided elements and mouse button setting.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

public DragDropAction(
    UITechnologyElement sourceUIElement,
    UITechnologyElement targetUIElement,
    MouseButtons mouseButton
)
public:
DragDropAction(
    UITechnologyElement^ sourceUIElement,
    UITechnologyElement^ targetUIElement,
    MouseButtons mouseButton
)
new : 
        sourceUIElement:UITechnologyElement *
        targetUIElement:UITechnologyElement *
        mouseButton:MouseButtons -> DragDropAction
Public Sub New (
    sourceUIElement As UITechnologyElement,
    targetUIElement As UITechnologyElement,
    mouseButton As MouseButtons
)

Parameters

See Also

UITechnologyElement
MouseButtons
DragDropAction Overload
DragDropAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top