[英]manually exit from typing mode of textbox in WP7
I have a scenario in my windows phone 7 app. 我的Windows Phone 7应用中有一个场景。 I have panarama control and it has 4 items in it.
我有panarama控制,并且其中有4个项目。 Let say in first Item I have textbox and my focus on it Mean My cursor in it and I was typing on this textbox.
假设在第一个项目中我有文本框,并且我专注于此。意思是我的光标在其中,并且正在此文本框中键入内容。 But when typing mean when my focus is still in textbox and I changes the panorama item.
但是输入时意味着我的焦点仍在文本框中并且我更改了全景图项目。 My textbox focus is still there and still its in typing mode.
我的文本框焦点仍然存在,并且仍处于键入模式。 How I can exit my textbox from typing mode on panaroma selection change.
在Panaroma选择更改时如何从输入模式退出文本框。
Windows Phone has no way to hide the keyboard other than to focus on a different element. Windows Phone无法隐藏键盘,只能专注于其他元素。 For example, if you have a hidden button, call
button.focus();
例如,如果您有一个隐藏的按钮,请调用
button.focus();
to hide the soft-keyboard. 隐藏软键盘。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.