Is there a way to xamly set a StaticResource for each row in a DataGrid by accessing it from all columns?
UPDATE
My goal is to have 3 ComboBox columns, while the latter is only bound to the rows element.
For example, a DataGrid represents a list of items. I have Category-> Vendor-> Style-> Finish ComboBoxes, but this is for navigation only, in fact the Item class only has a “Finish” relationship. Therefore, if there were no StaticResource for each row, I could set the ItemsSource and IsSynchronizedWithCurrentItem details for the ComboBox, and this will work automatically.
Many thanks.
source
share