For example: I have a Stackpanel with height of 200px. In this panel a grid with a height of 50px. How can I add a control (for example a textblock), which use the complete rest of height (150px) and not only the height of the textfont?
views:
28answers:
1
+1
A:
Use a DockPanel
instead. The last item added to a DockPanel
takes up remaining space.
klausbyskov
2010-01-15 12:19:56
problem solved, thank you!
elr
2010-01-15 13:59:33