I am working on a WPF application to practice MVVM. I have a need to have 4 grids, all have only two columns - one for a "display" control (TextBlock/RadioButton with a field's name) and the other for "value" control (any control needed to represent the value of the field).
Each grid in another user control, and I need to have all of their first columns to be in sync, so the "value" controls will stretch over the screen while the "display" controls that share size will have automatic width that doesnt change.
If I set SharedSizeColumn with constant name, all the grids are in perfect and good looking sync, but I need to set the SharedSizeColumn via binding with my view model, because some user controls that contain those grids are shared between tabbed view models for reuse, and across tabs/view models I dont want the grids to be synchronized. When I set SharedSizeGroup with bindings, the 2 columns in all the grids act like there is no SharedSizeGroup set at all, I've even tried setting the binding via code using BindingOperations and still no luck.
Any idea how to successfully bind SharedSizeGroup, or another solution for preventing the SharedSizeGroup to be shared amongst tabs that reuse the same user control?
