Posts Tagged ‘PasswordChar’

“Dot” Password Character in C#

April 26th, 2011 6 comments

When you are creating a password textbox, you could use the standard ‘*’ or ‘#’, however this does not look neat nor fall in line with the windows password character.

So I prefer to use ‘‚óŹ’, to implement this use the following code snippet:

this.fooBarTextBox.PasswordChar = '\u25CF';
%d bloggers like this: