Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MouseAction Constructor (MouseButtons, MouseActionType)

Initializes a new instance of the MouseAction class by using the provided 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(
	MouseButtons button,
	MouseActionType actionType
)

Parameters

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.

Community Additions

ADD
Show:
© 2015 Microsoft