MouseAction.MouseButton Property

 

Gets or sets the mouse button that was 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.

Remarks

Setting this property raises the PropertyChanged event.

See Also

PropertyChanged
MouseButtons
MouseAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top