Last week I was building a simple WPF application with a login screen. In WinForms you could easily change a textbox to behave like a password control. In WPF I found out that I could use the PasswordBox. But this control misses one very important feature, you cannot do databinding on it. Say goodbuy to use MVVM out-of-the-box.
Anyway I followed this very easy tutorial to attach databinding behavior to the PasswordBox.