Reputation: 12345
I am working in Windows phone 7, and I am learning the basics in it. I basically have a textBox
which can get a username in it, and I want it to have a placeHolder
like example@abc.com
, and on tapping the textBox, the text should disappear and the it should be empty for input.
How do I setup a placeholder ? And if possible, can you help me with the code for email verification ? Thanks !
Upvotes: 2
Views: 2323
Reputation: 39006
I believe the PhoneTextBox
from the wp7/Silverlight toolkit is all you need. :)
<toolkit:PhoneTextBox Hint="example@abc.com" />
Some tutorial.
Upvotes: 12
Reputation: 109279
Google windows phone watermark textbox; you'll find several implementations. Here's one off codeplex.
Upvotes: 2