Marin
Marin

Reputation: 1331

Scrollable when keyboard displayed?

I have a registration form on my layout grid, made out of a stackPanel. Textboxes are taking most of the screen (800px) along with a button. When user is positioned in one of the text boxes, keyboard covers almost half the screen and in order to access boxes below, they first have to click somewhere blank to remove the keyboard and then click another box. It isn't possible to scroll down.

I want to enable same behaviour like when editing name in contacts, but didn't manage yet. How to achieve this?

Upvotes: 0

Views: 839

Answers (2)

Eugene
Eugene

Reputation: 2995

Try wrapping it into a ListBox or a ScrollViewer (probably easier), like so:

<ScrollViewer>
  ...
</ScrollViewer>

Also, check to make sure you don't have the same problem described here.

Upvotes: 2

kishu27
kishu27

Reputation: 3120

I'm not a WP7 developer but here's what I do in Android and iOS and you may get a hint of what to do.

I wrap my forms in a Scrollable View. This gives easy scrollable features to users without the need of anything else.

Upvotes: 0

Related Questions