Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
DragAction(
	UITechnologyElement^ uiElement,
	MouseButtons mouseButton
)

Parameters

uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^

A UITechnologyElement object.

mouseButton
Type: System.Windows.Forms::MouseButtons

A member of the MouseButtons enumeration that indicates which button is pressed.

Return to top
Show: