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 .
Using PasswordBox for passwords in Windows Phone 7
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 🙂
5 Comments
Is it possible to show the password itself instead of showing x chars, by setting a property based on some event?
Hi Ramky ,
Why do you want to show the password in the passwordbox instead of x or * character ?
Why dont you use the textbox ??
thats not the answer, anyways, i found answer, thx.
how did you implement it?
Thanks a lot, just was searching …
Btw, do you know the reason why System.Security.SecureString class is not on the Windows Phone?