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

'Declaration
Public Sub New ( _
    sourceUIElement As UITechnologyElement, _
    targetUIElement As UITechnologyElement, _
    mouseButton As MouseButtons _
)
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 function DragDropAction(
    sourceUIElement : UITechnologyElement, 
    targetUIElement : UITechnologyElement, 
    mouseButton : MouseButtons
)

Parameters

.NET Framework Security

See Also

Reference

DragDropAction Class

DragDropAction Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITechnologyElement

MouseButtons