When you activate an application, a textbox with text \"hello\" will appear.
My question is:
When you click on the textbox in order to make input data, I want to rem
Please don't over complicate the answer several ways to skin a cat but, less code the better I would presume.
Petermac's option is the way to go for me.
Add "GotFocus" in the main Xaml window to the control eg."textbox"
private void Filename_GotFocus(object sender, RoutedEventArgs e)
{
Filename.Text = "";
}
or I like this option
private void Filename_GotFocus(object sender, RoutedEventArgs e)
{
Filename.clear();
}
the question asked was just to empty the textbox.