0

I need to USE hidden inserted symbols in my textbox and show "password" like "*******".

But after this I will use inserted password for login. I can not use PasswordBox because it don't have need touch event.

How do I do it ?

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41
romanK
  • 53
  • 2
  • 5
  • 1
    Possible duplicate of [How can I make a TextBox be a "password box" and display stars when using MVVM?](http://stackoverflow.com/questions/1119605/how-can-i-make-a-textbox-be-a-password-box-and-display-stars-when-using-mvvm) – sujith karivelil Oct 13 '15 at 04:46
  • 1
    What do you mean by _It dont have need touch event_ – M.kazem Akhgary Oct 13 '15 at 04:46
  • When i press on my passwordbox i do not see virtual keyboard, but when i tab on textbox then i see virtual keyboard. It is my problem! – romanK Oct 13 '15 at 04:49
  • Welcome to Stack Overflow. Please edit your post and show us what you have tried. It is much easier for others to alter your code than to write new stuff. – Rohit Gupta Oct 15 '15 at 05:52

1 Answers1

0

You should check out this answer to a similar question: https://stackoverflow.com/a/481097/4192732

You basically need a third-party extension to avoid using the passwordbox, as there are no first-party methods of masking a WPF textbox.

Community
  • 1
  • 1
arrakis90
  • 318
  • 2
  • 13