NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MouseButtons Enumeration

Specifies constants that define which mouse button was pressed.

[Visual Basic]
Public Enum MouseButtons
[C#]
public enum MouseButtons
[C++]
public enum MouseButtons

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Remarks

This enumeration is used by many classes, including System.WinForms.Design.MouseButtons.ColorEditor, System.WinForms.Design.MouseButtons.ComponentTray, AxHost, Control, DataGrid, Form, RadioButton, Splitter, StatusBar, and UpDownBase.

Members

Member Name Description
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.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace