Click here to Skip to main content
15,917,618 members

Comments by Zmuro (Top 1 by date)

Zmuro 1-Mar-19 3:51am View    
I'm still having the same issue. The Routes collection which is bound to DataGrid ItemsSource is empty at the beginning and should be populated with Route objects via DataGrid, by selecting values from ComboBoxes. I hooked the CollectionChanged event to Routes and I don't receive this event if I select a value from fist ComboBox, therefore I know that a Route object was not yet created and I can't bind SelectedItem to CurrentModule which is a property in Route object. SignalsByModule and Registers are also a collection property in Route object.

Should I choose a different approach? Should I move all collections the ComboBoxes are bound to ViewModel?