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