简体   繁体   中英

manually exit from typing mode of textbox in WP7

I have a scenario in my windows phone 7 app. I have panarama control and it has 4 items in it. 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.

Windows Phone has no way to hide the keyboard other than to focus on a different element. For example, if you have a hidden button, call button.focus(); to hide the soft-keyboard.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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