How can I show some default input while there is no user input?
I mean when I want to add e.g. a new appointment in the calender I see
“Subject” and “Location” in grey letters. When i click on it, they go away and i see the user input.
How to make this in my own app?
If you have a
textboxcontrol you can use theGotFocusevent to remove the text(which you can define initially) and change theForegroundtoApp.Resources["PhoneTextBoxForegroundBrush"] as SolidColorBrushfrom the code behind.In code behind