[]
Returns Windows.System.VirtualKey that was pressed.
public static VirtualKey GetKey(KeyRoutedEventArgs keyEvent)
Public Shared Function GetKey(keyEvent As KeyRoutedEventArgs) As VirtualKey
| Type | Name | Description |
|---|---|---|
| KeyRoutedEventArgs | keyEvent | Data from keyboard routed events, as well as related attached and Preview events. |
| Type | Description |
|---|---|
| VirtualKey | true if the Command key is pressed, false otherwise. |