I am developing a windows phone app. I want to get the value of the key in which the user is pressing. I want check wheather it is a digit or any other alphabet or special charater. Because my text box is using for entering currency. So I need to prevent users from entering alphabets or any special characters. Only digits are allowed to enter.
Share
This is how I usually reject keystrokes
Edit: See How to create a numeric textbox in Silverlight? for a more through implementation.