Cloud Training (Online)

Using PasswordBox for passwords in Windows Phone 7

If you are a c# Windows Application Developer and searching on the Textbox properties to set the password character in Windows Phone 7 form like me , then you are wrong .

The WP7 form has the PasswordBox for this purpose .
The PasswordBox displays the content and then allows the user to type in the content . The content that is typed appears for 1-2 second and is replaced with the PasswordChar that the user provides .

Although the InputScopeNameValue enumeration exists for password , it did not have any effect on the PasswordBox.

To display the text that is typed in PasswordBox use the property “Password” instead of again searching for Text property 🙂

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.