inputscope

How can I add InputScope property to PasswordBox in WinRT?

被刻印的时光 ゝ 提交于 2019-12-24 00:57:05
问题 How can I add Input Scope property to my User Control's PasswordBox? Could you explain it to me, please? Thanks. 回答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.. 来源: https://stackoverflow.com/questions

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

三世轮回 提交于 2019-12-07 13:00:45
问题 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? 回答1: Short

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

天大地大妈咪最大 提交于 2019-12-05 21:02:39
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? Short version - you don't out-of-the-box as far as I know. You're absolutely right that PasswordBox don't support