Creating a password input field using a MaskedTextBox

Jun 19, 2013 at 1:26 PM

AFAIU, in order to create a password text box I should use the MaskedTextBox control (I can't use the WPF PasswordBox).
I saw that MaskedTextBox has a MaskedTextProvider which has password related properties (e.g. IsPassword, PasswordChar), however I can't make all work together...

Is there any sample how to create such a password control?