How can I make a TextBox be a “password box” and display stars when using MVVM?
To get or set the Password in a PasswordBox, use the Password property. Such as string password = PasswordBox.Password; This doesn’t support Databinding as far as I know, so you’d have to set the value in the codebehind, and update it accordingly.