MouseButtons Enumeration
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Specifies constants that indicate which mouse button was clicked.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Windows.Browser
Assembly: System.Windows.Browser (in System.Windows.Browser.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration MouseButtons
[FlagsAttribute]
public enum MouseButtons
Members
Member name | Description | |
---|---|---|
None | No mouse button was clicked. | |
Left | The left mouse button was clicked. | |
Right | The right mouse button was clicked. | |
Middle | The wheel button was clicked. |
Remarks
MouseButtons enumeration members are frequently used during event processing.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.