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