Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable enter button on keyboard on wp7?

I was noticing on certain application for wp7, that they were able to use the enter key on the keyboard to submit, but by default when you hit the enter key it goes to the next line. I was even noticing the enter key is different from the default enter key.

How do you submit, and if possible how do you change the way the enter key looks?

Any tips, answers or resources would be appreciated. Thanks.

like image 327
Edward Avatar asked Jan 20 '23 08:01

Edward


2 Answers

You need to change the InputScope from "Text" and then capture the enter key on the KeyDown event.

like image 173
Matt Lacey Avatar answered Jan 22 '23 21:01

Matt Lacey


As Matt states, the keyboard layout depends on the InputScope that you specify. You can find some illustrations of the different layouts on Jeff Blankenburg's blog.

If you're interested in using the Enter key to "tab" between input fields, there's a great behavior you can use.

like image 41
Derek Lakin Avatar answered Jan 22 '23 21:01

Derek Lakin