Creating a custom InputScope for Windows Phone 7

前提是你 提交于 2019-12-10 20:54:37

问题


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).


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/3875711/creating-a-custom-inputscope-for-windows-phone-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!