c# - How to position a TextBlock always at the bottom of the view -


i want put textblock @ bottom of view inform users something. each of views height different, user use scrollviewer scroll view.

want no matter how long view is, textblock @ bottom of view, user need not scroll scrollbar bottom of view see message. can help?

add 2 grids. 1 purpose add view , second information text below.

<grid> <grid.rowdefinitions> <rowdefinition height="*"/> <rowdefinition height="30"/> </grid.rowdefinitions>  <!-- main grid in scrollviewer--> <scrollviewer>      <grid grid.row="0" >      </grid> </scrollviewer>  <!-- information text @ bottom --> <grid grid.row="1">     <textblock text="your message" horizontalalignment="center" verticalalignment="bottom"/> </grid>  </grid> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -