O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PasswordBox

PasswordBox is a simple TextBox-style control designed for the entry of a password. Rather than display the text typed in, it displays little circles. Although it doesn’t have one by default, you can give it a Windows-style password reveal button if you set IsPasswordRevealButtonEnabled to true. This reveals the password while it is pressed, as demonstrated in Figure 12.24.

Image

FIGURE 12.24 The PasswordBox with IsPasswordRevealButtonEnabled=true

Although it would be a strange thing to do, you can customize the symbol used to mask the password by setting PasswordChar to any character. The default circle is the bullet character (Unicode ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required