How to clear a textbox once a button is clicked in WPF?
I use this. I think this is the simpliest way to do it:
textBoxName.Clear();
Give your textbox a name and then use TextBoxName.Text = String.Empty;
I use this. I think this is the simpliest way to do it:
textBoxName.Clear();
Give your textbox a name and then use TextBoxName.Text = String.Empty;