Gets or sets the state of the specified key on the keyboard.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public bool this[
Key key
] { get; }
Parameters
- key
- Type: (Default Namespace)Key
Which key is affected.
Return Value
Type:
BooleanTrue if the key is pressed of false if it is not pressed.
See Also