Table of Contents

Enum PointerButton

Namespace
Xui.Core.UI.Input
Assembly
Core.dll

Defines the mouse or pointer button associated with a pointer event, based on the W3C Pointer Events specification.

public enum PointerButton : short

Fields

Eraser = 5

Pen eraser button (5).

Left = 0

Left mouse button, touch contact, or pen contact (0).

Middle = 1

Middle mouse button (usually the scroll wheel button) (1).

None = -1

No button or touch/pen contact change occurred (-1).

Right = 2

Right mouse button or pen barrel button (2).

X1 = 3

X1 (back) mouse button (3).

X2 = 4

X2 (forward) mouse button (4).