Windows-8.1

How to make TextBox lose its focus in Windows Phone 8.1?

This method is ugly but it works. The key part is IsTabStop property. If I don’t touch it – the keyboard disappers for a fraction of a second and reapears again.

Makes virtual keyboard disappear when user taps enter key.

You just need to call the LostFocus method and pass the name of the TextBox control as a parameter to make it lose focus.

ashishumar468@gmail.com'

Ashish Kumar

I am pursuing my Btech from MIT, Pune and I like to develop and blog about Windows Phone apps.

Read more:
How to create your first Windows Phone app
How to change the App name and Tile name of your Windows phone app
Data binding in Windows Phone app – One way binding
Close