PasswordBox
Last updated
Was this helpful?
Last updated
Was this helpful?
The PasswordBox control is a TextBox-like control which can be used for entering passwords. It uses a SecureString
rather than regular string
and hides the entered characters by using the *
key for each character typed. For more information see the SecureString documentation:
PasswordBox does not support the CTRL+C copy hotkey.
The following code adds a password box.