I want to show a placeholder text in TextBox when user hasn’t typed anything and TextBox is idle.
In Andriod it can be done using android:hint="some Text"
In iPhone it can be done as textFild.placeholder = "some text";
How can I do it in windows 8 metro apps?
Thanks
Edit for windows-8.1 they have introduced a new property
Please see Sergey Aldoukhov’s answer
For me this is the working solution that I got.If any one has better solution please answer.MS also do the same check the example here.P.S. I have created a custom control forTextBoxyou can download it from here