Enum MouseFlags
Mouse flags reported in MouseEvent.
Namespace: Terminal
Assembly: Terminal.dll
Syntax
[System.Flags]
public enum MouseFlags
Remarks
They just happen to map to the ncurses ones.
Fields
| Name | Description |
|---|---|
| AllEvents | Mask that captures all the events. |
| Button1Clicked | The first mouse button was clicked (press+release). |
| Button1DoubleClicked | The first mouse button was double-clicked. |
| Button1Pressed | The first mouse button was pressed. |
| Button1Released | The first mouse button was released. |
| Button1TripleClicked | The first mouse button was tripple-clicked. |
| Button2Clicked | The second mouse button was clicked (press+release). |
| Button2DoubleClicked | The second mouse button was double-clicked. |
| Button2Pressed | The second mouse button was pressed. |
| Button2Released | The second mouse button was released. |
| Button2TrippleClicked | The second mouse button was tripple-clicked. |
| Button3Clicked | The third mouse button was clicked (press+release). |
| Button3DoubleClicked | The third mouse button was double-clicked. |
| Button3Pressed | The third mouse button was pressed. |
| Button3Released | The third mouse button was released. |
| Button3TripleClicked | The third mouse button was tripple-clicked. |
| Button4Clicked | The fourth button was clicked (press+release). |
| Button4DoubleClicked | The fourth button was double-clicked. |
| Button4Pressed | The fourth mouse button was pressed. |
| Button4Released | The fourth mouse button was released. |
| Button4TripleClicked | The fourth button was tripple-clicked. |
| ButtonAlt | Flag: the alt key was pressed when the mouse button took place. |
| ButtonCtrl | Flag: the shift key was pressed when the mouse button took place. |
| ButtonShift | The fourth button was pressed. |
| ReportMousePosition | The mouse position is being reported in this event. |