Gets the virtual-key for the associated event.
A given physical key can result in different virtual keys depending on the current keyboard layout.
This is the key that is generally referred to when creating keyboard shortcuts.
For example, when pressing the key located at the Z position on standard US English QWERTY keyboard,
this property returns:
- Z for an English (QWERTY) layout
- W for a French (AZERTY) layout
- Y for a German (QWERTZ) layout
- Z for a Russian (JCUKEN) layout
public Key Key { get; init; }Public Property Key As Key
Get
Setmember Key : Key with get, set