Show / Hide Table of Contents

Enum MButtons

Flags for mouse buttons. Used with functions that check mouse button states (pressed or not).

[Flags]
public enum MButtons
Remarks

The values are the same as System.Windows.Forms.MouseButtons, therefore can be cast to/from.


Namespace: Au.Types
Assembly: Au.dll

Fields

Name Description
Left

The left button.

Middle

The middle button.

Right

The right button.

X1

The 4-th button.

X2

The 5-th button.

Extension Methods

ExtMisc.HasAny<MButtons>(MButtons, MButtons)
ExtMisc.Has<MButtons>(MButtons, MButtons)
ExtMisc.SetFlag<MButtons>(ref MButtons, MButtons, bool)