开发者

Windows Phone 7 - Move Content above Keyboard

I have page containing 4 textboxes and a button. The content is within ScrollViewer. When user goes to the last textbox, the button below it is 50% visible. So, to click it, user has to click on non-focusable area to hide the keyboard and then click on button.

Is there any way to move the ScrollViewer up? Or move the content up so that the开发者_开发技巧 button below focused textbox can be seen 100%?


The solution is to remove the buttons on the page and replace them with buttons in the ApplicationBar as this is always viewable below the SIP.

If this is not a solution you can implement (from a design view-point there is no reason to not do this but sometimes these decisions come from elsewhere) then you could look to use the ScrollToVerticalOffset method to try and bring the desired item into view.


I would suggest you read Alex Sorokoletov's article on how to transform the view. It might be of help for your problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜