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.

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)

public:
DragDropAction(
	UITechnologyElement^ sourceUIElement,
	UITechnologyElement^ targetUIElement,
	MouseButtons mouseButton
)

Parameters

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

A UITechnologyElement object that represents the element on which the drag operation starts.

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

A UITechnologyElement object that represents the element on which the drag operation ends.

mouseButton
Type: System.Windows.Forms::MouseButtons

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

Return to top
Show: