2

How can I add Input Scope property to my User Control's PasswordBox?

Could you explain it to me, please?

Thanks.

Tugrul Emre Atalay
  • 918
  • 1
  • 9
  • 28
  • What do you mean by input scope? Like displaying only number keys on the virtual keyboard for a PasswordBox that only supports digits as input? I might agree with @tanuj_loop that indeed - you might need to create your own control, which is non-trivial. You should probably support pasting, but not copying out of the control, handle all the key modifiers like Ctrl+Arrow, Shift+Arrow, etc. - possibly dozens of combinations. That on top of designing your own touch UI and handling and validating input. – Filip Skakun Jul 22 '13 at 20:35
  • I got it but it is already my custom control, and I am trying to add to it. You are talking about change passwordbox in my customcontrol? @Filip Skakun thanks a million for being my teacher :) – Tugrul Emre Atalay Jul 22 '13 at 20:42
  • A new question to you :) http://stackoverflow.com/questions/17796893/error-when-uploading-file-with-backgrounduploadasync-in-wp8 – Tugrul Emre Atalay Jul 22 '13 at 20:42
  • I submitted [feedback](http://visualstudio.uservoice.com/forums/121579/suggestions/4433511) for Microsoft to review. Please vote for it. – HappyNomad Sep 15 '13 at 03:00

1 Answers1

1

according to the information i have PasswordBox does not have Input Scope Property in winrt so you can't set it directly. if you want do it you have to make your separate custom control. For defining your own Custom control you have read it on Windows Development Center..or simply google it..hope it helps you.. you can use this link..

loop
  • 9,002
  • 10
  • 40
  • 76
  • you actually you have to take a textbox and set its input scope..using dependency property..( what i am trying to say is you have make your passwordbox from scratch using textbox and other control..you don't have to take passwordbox directly..because problem will remain the same ..) – loop Jul 22 '13 at 12:02