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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -