Question

I am developing a windows phone 7 application.

I have requirement where there is a password text box and when user starts typing the letters into the text box, each letter should appear as it is for 1 sec and then get converted to password dot (.).

There should be some delay such that user should be able to see what he has typed for one second and then it should be masked.

In android there is a way mHandler.postDelayed(new SetPassword(), 1000);

I would like to do it in a similar fashion for Windows Phone 7 as well.

Was it helpful?

Solution 2

Use a timer that runs when the login page comes. With that help u can always delay and display the dots and mask it when ever timer stops.

OTHER TIPS

This is a default behavior in PasswordBox control to show what the user type for a few moments. You need to set custom delay or you just don't find that control?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top