Windows Phone 7 - moving content above the keyboard

I have a page containing 4 text fields and a button. Content is in ScrollViewer. When the user goes to the last text field, the button below it is 50% visible. Thus, to click on it, the user must click on the unfocused area to hide the keyboard, and then press the button.

Is there a way to move ScrollViewer? Or move the content up so that the button below the focused text box can be seen 100%?

+4
source share
2 answers

The solution is to remove the buttons on the page and replace them with buttons in the ApplicationBar, as it is always available for viewing under SIP.

If this is not a solution that you can implement (from a design point of view, there is no reason not to do it, but sometimes these solutions are taken from other sources), then you can use ScrollToVerticalOffset to try to display the desired element.

+4
source

I would advise you to read the article by Alexei Sorokoletov ’s article on how to transform the idea. This may help your problem.

+1
source

All Articles