Class KeyModifiers
Identifies the state of the "shift"-keys within a event.
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class KeyModifiers
Fields
| Edit this page View SourceAlt
Check if the Alt key was pressed or not.
Declaration
public bool Alt
Field Value
| Type | Description |
|---|---|
| bool |
Capslock
Check if the Caps lock key was pressed or not.
Declaration
public bool Capslock
Field Value
| Type | Description |
|---|---|
| bool |
Ctrl
Check if the Ctrl key was pressed or not.
Declaration
public bool Ctrl
Field Value
| Type | Description |
|---|---|
| bool |
Numlock
Check if the Num lock key was pressed or not.
Declaration
public bool Numlock
Field Value
| Type | Description |
|---|---|
| bool |
Scrolllock
Check if the Scroll lock key was pressed or not.
Declaration
public bool Scrolllock
Field Value
| Type | Description |
|---|---|
| bool |
Shift
Check if the Shift key was pressed or not.
Declaration
public bool Shift
Field Value
| Type | Description |
|---|---|
| bool |