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
- 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.