How do I programmatically close the onscreen keyboard for my WP7 app?
How do I disable the on-screen keyboard on Windows 7? In Windows 7, open the Control Panel and select Ease of Access > Ease of Access Center. Under Use the computer without a mouse or keyboard, deselect Use On-Screen Keyboard and click OK.
Open On-Screen Keyboard by clicking the Start button, clicking All Programs, clicking Accessories, clicking Ease of Access, and then clicking On-Screen Keyboard.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With