Password box with input scope as numeric. RRS feed

  • Question

  • Hi,

    I am using Xaml for UI to develop app for windows phone 8.1. I have a use case where I need to enter PIN. PIN entry should react as password with numeric input scope. Xaml provided password box doesnt support this feature. Is there a way to implement this?

    Monday, April 6, 2015 5:42 AM


  • You'll have to create your own Pinbox since PasswordBox doesn't support numeric-only at this time.  If you look at the documentation for InputScopeNameValue, it appears we're going to support this in Windows 10, but that's just an educated guess, not a statement.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, April 6, 2015 1:10 PM