How do I change the on-screen keyboard for a PasswordBox

Posted by McKay on Stack Overflow See other posts from Stack Overflow or by McKay
Published on 2011-01-06T07:29:27Z Indexed on 2011/01/06 11:54 UTC
Read the original article Hit count: 378

I have a box that I want to take a password of only numbers (like an ATM-card PIN), how is the best way to do that?

Requirements:

  • Password (with the hidden numbers)
  • Typing digits as the default (only?) keyboard

What I've tried:

I thought that InputScopes would be the way to go, but I can't set the input scope on a password box. I even tried putting the password InputScope on a normal TextBox, but that didn't mask the appearance of the characters in the text box. Suggestions?

© Stack Overflow or respective owner

Related posts about windows-phone-7

Related posts about passwordbox