开发者

windows 7 phone - close keyboard

How do I programmatically close the onscreen keyboa开发者_JS百科rd for my WP7 app?


The only way would be to change the focus to be away from the TextBox that's causing it to be open, with .Focus on some other control. You can put it on a non visual control if you prefer.


If you're on a page that has no other sensible control to switch focus to, setting IsEnabled = false (and then back to true straight away if you want) on the TextBox which has focus will also close the SIP.


http://www.geekchamp.com/tips/how-to-hide-the-soft-keyboard-in-a-windows-phone-app

You will love this, It solved my problem when search clicked

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜