I have previewKeyDown method in my window, and I\'d like to know that pressed key is only A-Z letter or 1-0 number (without anyF1..12,
previewKeyDown
A-Z
1-0
Add a reference to Microsoft.VisualBasic and use the VB IsNumeric function, combined with char.IsLetter().