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.

MouseAction Constructor (UITechnologyElement^, MouseButtons, MouseActionType)

 

Initializes a new instance of the MouseAction class by using the provided element, button designation, and type of action.

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

public:
MouseAction(
	UITechnologyElement^ uiElement,
	MouseButtons button,
	MouseActionType actionType
)

Parameters

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

A UITechnologyElement object where the mouse operation occurred.

button
Type: System.Windows.Forms::MouseButtons

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

actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common::MouseActionType

A member of the MouseActionType enumeration that indicates the kind of mouse operation.

Return to top
Show: