Table of Contents

Property Button

Namespace
DotNetBrowser.Dom.Events
Assembly
DotNetBrowser.dll

Button

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

public uint Button { get; set; }

Property Value

uint

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