A built-in control in .NET framework class library (FCL) for taking password input. Please consider using this tag if you've a question about passwordbox control while developing thick client .NET applications. Not to be confused with text box control which also has the password masking capability to hide any character being typed in it.
PasswordBox control are currently available at two places in .NET:
- PasswordBox for WPF present in
System.Windows.Controls
namespace - PasswordBox for Universal Windows Platform (UWP) apps present in
Windows.UI.Xaml.Controls
namespace
PasswordBox control looks like a traditional plain text box control but in place of the text being typed, it shows some mask character configured by the programmer e.g. asterisk (*), dots (.) or filled circle. Masking the typed characters is default property of PasswordBox control. So in that sense, it is different from plain text box control which can optionally show masked characters if configured that way.