I am new to windows 8 phone. I am writing a calculator app that can only accept numbers in the textbox and just a single decimal point. how do I prevent users from inputting two or more decimal Points in the text box as the calculator cant handle that.
I have been using Keydown Event, is that the best or should I use Key up?
private void textbox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) {
}