Page is not scrolling upto last element(TextBox) when keyboard pops up RRS feed

  • Question

  • xaml code:

       <Grid x:Name="LayoutRoot" Background="Transparent">

                       <controls:Pivot x:Name="rootPivot" >



     background code:

               var pivotItem = new PivotItem();
                pivotItem.Header = pageTitle;
                ScrollViewer scrollViewer = new ScrollViewer();
                scrollViewer.Content = formGrid    (another grid which contains elements (TextBoxes))
                pivotItem.Content = scrollViewer;

          Please help me  How to make the page scrollable upto last element(textbox) without closing the keyboard?
    Monday, March 30, 2015 9:47 AM

All replies

  • Do you want add PivotItem at runtime and then display the TextBox control in it programmatically without closing keyboard? Can you explain more about why you cannot close keyboard? If this is not your scenario, please correct it.

    Tuesday, March 31, 2015 7:16 AM
  • Hi Nithak,

    Pivot item will be added to the page in runtime.Suppose if there are 10 textboxes in that PivotItem,I will enter the text in the first textbox. then I want to scroll the page upto last textbox with out closing the KeyBoard.But I could not scroll the page upto last textbox.

      I can enter the text in last textbox if i close the keyboard.But my requirement is to scroll upto last textbox with out closing the keyboard.

    Wednesday, April 1, 2015 5:23 AM