Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MouseButtons Enumeration

 

Specifies constants that define which mouse button was pressed.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Input
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

[ComVisibleAttribute(true)]
[FlagsAttribute]
public enum class MouseButtons

Member nameDescription
Left

The left mouse button was pressed.

Middle

The middle mouse button was pressed.

None

No mouse button was pressed.

Right

The right mouse button was pressed.

XButton1

The first XButton mouse button was pressed.

XButton2

The second XButton mouse button was pressed.

Return to top
Show: