How I can get behavior of form in windows Phone like Settings >> Mobile Network >> EditAPN
.
In this page it have many textboxes in scrollviewer. When user taps on any textbox and its get focus then the page scrolls up and header remains constant and SIP keyboard shown. And when user lost the focus from this text box then page comes to its normal state and SIP keyboard hides and header remains unchanged. I want to achieve this behavior. I placed some textboxes in scrollviewer and on each textbox got focus event I am doing this.
this.Scroller.ScrollToVerticalOffset(this.txtbox1.ActualHeight);
this.Scroller.UpdateLayout();
But Its not working for me. Any help will be appreciates