Can I determine if a KeyEventArg is an letter or number?
Char.IsNumber() and Char.IsLetter()
You can use the char.IsLetterOrDigit()
method on the KeyCode
of the event args:
bool isLetterOrDigit = char.IsLetterOrDigit((char) keyEventArgs.KeyCode);