简体   繁体   English

Metro App触摸手势等效于键盘输入

[英]Metro App Touch Gesture equivalent to Keyboard Enter

Windows 8 Metro App中的键盘Enter键是否具有等效的Touch手势 ,可以在KeyDownTextBox类似事件中检测到?

See the docs for designing for touch interaction , which includes the Microsoft Touch language. 请参阅用于设计触摸交互的文档,其中包括Microsoft Touch语言。

Apps should endeavor to follow the Microsoft Touch language as much as possible. 应用程序应尽可能遵循Microsoft Touch语言。

You should not need a touch gesture specifically for the equivalent of the Enter key because if the user is using a keyboard (for example, on a laptop), they would have the Enter key available physically. 您不需要专门用于Enter键的触摸手势,因为如果用户使用键盘(例如,在笔记本电脑上),他们将可以使用Enter键。 If a keyboard is not present (for example on Surface or other tablet), then tapping inside the textbox would bring up the soft input panel, which likewise includes the Enter key. 如果不存在键盘(例如在Surface或其他平板电脑上),则在文本框内点击将弹出软输入面板,该面板同样包含Enter键。 You can find more information on keyboard and SIP support here . 您可以在此处找到有关键盘和SIP支持的更多信息

Hope that helps. 希望能有所帮助。

For more information on Windows Store app development, register for App Builder . 有关Windows Store应用程序开发的更多信息,请注册App Builder

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM