WPF PasswordBox - PasswordRevealMode was not found in type 'PasswordBox'

  • Thread starter Thread starter Ste Wilko
  • Start date Start date
S

Ste Wilko

Guest
The title says it all really.

I've trying to make a log in window that uses a PasswordBox to mask the password; but I want the user to be able to peek at it if they suspect that they might have made a mistake.

I've read the Microsoft documentation and it says to use the PasswordRevealMode property. However, whenever I try it, either in the xaml or the code behind I get the following error:

PasswordRevealMode was not found in type 'PasswordBox'


Is this a bug with VS Community 2019? Or do I need to do something else to get it to work?

Continue reading...
 

Similar threads

B
Replies
0
Views
587
Bryan Prendergast
B
B
Replies
0
Views
285
Bryan Prendergast
B
T
Replies
0
Views
567
This_display_name_is_already_in_use_They_all_are
T
Back
Top