MouseButtons Enumeration


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)

public enum MouseButtons

Member nameDescription
NoneNo mouse button was clicked.
LeftThe left mouse button was clicked.
RightThe right mouse button was clicked.
MiddleThe wheel button was clicked.

MouseButtons enumeration members are frequently used during event processing.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions