.net - Emulating Dock and Anchor in a WPF window -


i have simple terminal application sens , receives characters serial port. uses 2 fixed size textbox controls, 1 beneath other. split main window 2 halves keep 50% size, textblock label , textbox characters in each half.

i suspect use simple stackpanel this, how specify, in inner stackpanels, label panel has fixed height, , text must fill remaining height. how specify outer 2 panels each occupy 50% of height?

for outer panels, use grid.

the innerpanels can done dockpanel (with lastchildfill=true)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -