Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the MouseAction class by using the provided button designation, type of action, and location of the operation.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
public MouseAction(
MouseButtons button,
MouseActionType actionType,
Point location
)
public:
MouseAction(
MouseButtons button,
MouseActionType actionType,
Point location
)
new :
button:MouseButtons *
actionType:MouseActionType *
location:Point -> MouseAction
Public Sub New (
button As MouseButtons,
actionType As MouseActionType,
location As Point
)
Parameters
button
Type: System.Windows.Forms.MouseButtonsA member of the MouseButtons enumeration that indicates which mouse button is pressed.
actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common.MouseActionTypeA member of the MouseActionType enumeration that indicates the kind of mouse operation.
location
Type: System.Drawing.PointA Point object that indicates the location of the operation.
See Also
MouseButtons
MouseActionType
Point
MouseAction Overload
MouseAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top