Click or drag to resize

MouseEventParametersButton Property

Gets or sets the number of the mouse button that was pressed to trigger the event.

Namespace:  DotNetBrowser.Dom.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.5
Syntax
C#
public uint Button { get; set; }

Property Value

Type: UInt32
The number of the mouse button that was pressed to trigger the event:
  • 0 - Main button pressed, usually the left button or the uninitialized state
  • 1 - Auxiliary button pressed, usually the wheel button or the middle button (if present)
  • 2 - Secondary button pressed, usually the right button
  • 3 - Fourth button, typically the Browser Back button
  • 4 - Fifth button, typically the Browser Forward button
See Also