Hey guys,
I am kinda new here, hope my question isn't plain stupid.
I have a BO "TableRow" with properties Time and Value implementing INotifyPropertyChanged. Then I use a Collection (which implements INotifyCollectionChanged-Events) of TableRows to fill some DataGridViews, which are setup with virtual mode, with Data.
My problem is: The value of Time should be the same for all DataGridViews. The other property is specific to it's own DataGridView. So when i manipulate Row 1 of Column "Time" in one view, all views should update their first row with the new value.
Right now I am solving this by using a self implemented type ObservableDictionary<t> for the Value property on my BO. So each DataGridView can look up it's own value of Value with a key, but all will look at the same value for Time. (They are all bound to the same List of BOs.)
Is there an easier way to solve this? Meddling around with those Dictionaries makes things more complicated than I feel they should be.