Search code examples
c#win-universal-appwindows-10-mobile

UWP - move TextBlock above the phone keyboard


I need on my universal win10 app, one textblock be at the bottom of page and if keyboard is Visible , that textblock place above keyboard.

Is it possible ? How ?


Solution

  • for solving this problem I used Commandbar and set my text block in the Content of CommandBar

    <Page.BottomAppBar>
         <CommandBar >
              <CommandBar.Content>
                  <TextBlock x:Name="myTextBlock"/>
              </CommandBar.Content>
         </CommandBar>
    </Page.BottomAppBar>