Home > C# Snippets, Development > “Dot” Password Character in C#

“Dot” Password Character in C#

April 26th, 2011

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';
  1. November 9th, 2012 at 22:16 | #1

    Thanks Really Helped Out

  2. jcode
    December 6th, 2012 at 21:56 | #2

    you can also set this property to true


    from the properties window or thru code like above

  3. ramiro
    January 27th, 2013 at 03:07 | #3

    Thanks for your help !!.

  4. June 10th, 2013 at 02:49 | #4

    Your mode of explaining all in this post is really nice, all be capable
    of without difficulty understand it, Thanks a lot.

  5. April 27th, 2014 at 09:23 | #5

    Hello to all, how is the whole thing, I think every one is gettiing more from this website,
    and your views are pleasant in support of new visitors.

  6. Priyanka
    January 21st, 2015 at 19:58 | #6

    Thanks for your help !!.

Comments are closed.
%d bloggers like this: