title: Use a TextBox as a PasswordBox. WPF c#
body: <p>I have a login form with two textboxes, one for username and one for password.</p>
  
  <p>I have used a textbox for the password input, however I would like to mask the characters so that rather than showing letters, it will show a (*) symbol or a password dot.</p>
  
  <p>I can not change the textbox to a password box as this throws errors.</p>
  
  <p>Using C#, WPF form</p>