Textbox only allow characters from a-z
hii want to make a textbox in wpf C# which accepts characters from a-z.now i used the code as
private void txt_name_PreviewKeyDown(object sender, KeyEventArgs e)
{
if (char.IsLetter((char)e.Key)) e.Handled = true;
}
but the textbox not allowing v,w,x,y,z pls help me with a right code