password stays revealed on pressing the tab key after clicking on the reveal button in passwordbox of xaml? RRS feed

  • Question

  • IsPasswordRevealButtonEnabled="true" this is making my password to be revealed on pressing the "reveal button" (eye mark) in the password box.

    click on the eye mark and keep the mouse pressed and hold it mean while press tab key. Then the password is staying revealed. Is there any way to control this?

    Thursday, December 13, 2012 3:30 PM


  • This isn't the right behavior and unfortunately there isn't a way to address it at the moment.

    What you can try is -

    1. As suggested above, create your own PasswordBox and use that.
    2. Clear the values when the PasswordBox loses focus and display a warning to the users to click the reveal button again to reset the behavior.

    Not the most elegant solutions but the concerned people are now aware of it.

    - Ashish Sahu [MSFT]

    • Marked as answer by Jesse Jiang Thursday, December 27, 2012 4:39 AM
    Wednesday, December 19, 2012 9:20 PM

All replies