Share via


DragAction Constructor (UITechnologyElement, MouseButtons)

 

Initializes a new instance of the DragAction class by using the provided element and buttons.

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

Syntax

public DragAction(
    UITechnologyElement uiElement,
    MouseButtons mouseButton
)
public:
DragAction(
    UITechnologyElement^ uiElement,
    MouseButtons mouseButton
)
new : 
        uiElement:UITechnologyElement *
        mouseButton:MouseButtons -> DragAction
Public Sub New (
    uiElement As UITechnologyElement,
    mouseButton As MouseButtons
)

Parameters

See Also

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

Return to top