Skip to main content

PasswordBoxExtensions

Description​

PasswordBoxExtensions adds Fluent placeholder, reveal, and feedback properties to native PasswordBox. PasswordBoxExtensions is shown within PasswordBox; it is not a separate gallery destination.

The images show the styled PasswordBox with its placeholder.

PasswordBox in light mode PasswordBox in dark mode

Example usage​

<PasswordBox fluence:PasswordBoxExtensions.PlaceholderText="Password"
fluence:PasswordBoxExtensions.RevealButtonEnabled="True" />

State and behavior​

The attached properties add placeholder, reveal, Caps Lock, and strength feedback to native PasswordBox.

Reference​