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.
Gets or sets a value that indicates which mouse button is pressed.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
public MouseButtons MouseButton { get; set; }
public:
property MouseButtons MouseButton {
MouseButtons get();
void set(MouseButtons value);
}
member MouseButton : MouseButtons with get, set
Public Property MouseButton As MouseButtons
Property Value
Type: System.Windows.Forms.MouseButtons
The mouse button that is pressed.
Remarks
Setting this property raises the PropertyChanged event.
See Also
MouseButtons
PropertyChanged
DragAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top