c# - WPF RichTextBox increase grid row size -


i have following xaml

<grid>    <grid.rowdefinitions>       <rowdefinition height="auto"/>  <!--here expander richtextbox within-->       <rowdefinition height="auto"/>  <!--here splitter-->       <rowdefinition height="*"/>     <!--here other controls-->    </grid.rowdefinitions> ... 

the problem when expander open , richtextbox fills text rows automatically increase heigth expander , grid row height, way items on bottom row sliding down.

i want have bottom grid row height independent richtextbox. can without binding richtextbox height expander or top row height?

thank you.

you add 1 more row grid, , define minheight row. set datagrid vertical alignment stretch verticalalignment = stretch. set default height size window.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -