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