layout - Wpf align content in different containers -
whats best way align controls vertically exist in different containers, in wpf/xaml?
in case have several expander controls grid inside. in grid there labels , textboxes. grid row/column setup "auto"
the expanders placed in maingrid in usercontrol
it looks this:
-expander--------------- | foo | barbarbarbar | | hello | hi | ------------------------ -expander2------------- | sometext | more text| | aaaaa | bbbbb | -----------------------
what tried describ above figure rows in different expanders aren't aligned (the "|" symbolizes grid border), , because column width set auto in grid.
is there way align gridcolumn in different expanders without hardcoding width of columns in different grids?
sharedsizegroup on grid here
Comments
Post a Comment