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

4x4 Matrix in Python -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -

python - String indices must be integers and while issue -