ControlKeyStates Enum

Definition

Defines the states of Control Key

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum ControlKeyStates
Inheritance
ControlKeyStates
Attributes

Fields

CapsLockOn

The capslock light is on.

EnhancedKey

The key is enhanced.

LeftAltPressed

The left alt key is pressed.

LeftCtrlPressed

The left ctrl key is pressed.

NumLockOn

The numlock light is on.

RightAltPressed

The right alt key is pressed.

RightCtrlPressed

The right ctrl key is pressed.

ScrollLockOn

The scrolllock light is on.

ShiftPressed

The shift key is pressed.