Property Button
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Dom.dll
Button
During mouse events caused by the depression or release of a mouse button, button is used to indicate which mouse button changed state.
public ushort Button { get; }
Property Value
Remarks
0 indicates the normal (in general on the left or
the one button on Macintosh mice, used to activate a button or
select text) button of the mouse. 2 indicates the contextual
property (in general on the right, used to display a context menu)
button of the mouse if present. 1 indicates the extra (in
general in the middle and often combined with the mouse wheel)
button. Some mice may provide or simulate more buttons and values
higher than 2 could be used to represent such buttons.