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:
The following code adds a password box.