Windows Phone 7 textBox

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 !

Answers


I believe the PhoneTextBox from the wp7/Silverlight toolkit is all you need. :)

<toolkit:PhoneTextBox Hint="example@abc.com" />

Some tutorial.


Need Your Help

How to check if `sed` has changed a file

linux bash shell ubuntu sed

I am trying to find a clever way to figure out if the file passed to sed has been altered successfully or not.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.