输入范围属性不适用于触摸屏面板?任何想法为什么? [英] Input Scope property does not work for touch screen panels? any idea why?
问题描述
我有一个wavehare LCD触控面板。 https://www.waveshare.com/wiki/10.1inch_HDMI_LCD_(B)_(with_case) 当我有一个简单的文本块并且我将输入焦点设置为当我运行我的UWP应用程序时,我们可以说电话。它不会改变LCD面板上的键盘
,只显示数字键盘。请参阅此保管箱链接 - > https://www.dropbox.com/s/ygn41ej9t78h9ip/File%20Feb%2004%2C%2021%2037%2041.jpeg?dl = 0 有关可能是什么的任何想法输入焦点属性不起作用的原因。
I have a waveshare LCD touch panel. https://www.waveshare.com/wiki/10.1inch_HDMI_LCD_(B)_(with_case) When i have a simple text block and i set the input focus to lets say telephone when i run my UWP application. it doesn't change the keyboard on the LCD panel to show only the numerical keypad. see this dropbox link- > https://www.dropbox.com/s/ygn41ej9t78h9ip/File%20Feb%2004%2C%2021%2037%2041.jpeg?dl=0 Any ideas on what could be the reason why input focus property isn't working.
推荐答案
Hello Nijoel,
Hello Nijoel,
您需要更改输入用于仅显示数字键盘的文本控件的范围,如下所示:
You need to change the input scope of the text control for showing only the numerical kepad, like following:
<TextBox Header="Telephone Number" InputScope="TelephoneNumber"/>
请参阅此处有关 更改文本控件的输入范围 。
Please see here about Changing the input scope of a text control.
最诚挚的问候,
Michael
这篇关于输入范围属性不适用于触摸屏面板?任何想法为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!