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

'Declaration
Public Property MouseButton As MouseButtons
public MouseButtons MouseButton { get; set; }
public:
property MouseButtons MouseButton {
    MouseButtons get ();
    void set (MouseButtons value);
}
member MouseButton : MouseButtons with get, set
function get MouseButton () : MouseButtons 
function set MouseButton (value : MouseButtons)

Property Value

Type: MouseButtons
The mouse button.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged

MouseButtons