.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
Post a Comment