Pergunta

Where can I find a tutorial for creating a custom InputScope? I'd like to create a custom keyboard that displays only the numbers 1-9 on the onscreen keybord (no symbols).

Foi útil?

Solução

You cannot create custom input scope, here are the ones supported InputScopeNameValue Enumeration there may be one close to what you want - there are ones with numbers e.g. telephone or number.

Outras dicas

You can't create a custom input scope, but you can process key events, see http://www.atleyhunter.com/2010/11/12/making-textbox-numbers-only-for-windows-phone-7/ for how to handle numeric data entry.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top