MouseAction Constructor (MouseButtons, MouseActionType)
Initializes a new instance of the MouseAction class by using the provided button designation and type of action.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
- Type: System.Windows.Forms.MouseButtons
A member of the MouseButtons enumeration that indicates which mouse button is pressed.
- Type: Microsoft.VisualStudio.TestTools.UITest.Common.MouseActionType
A member of the MouseActionType enumeration that indicates the kind of mouse operation.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.