Wpf binding observablecollection not updating

Posted by / 23-Jan-2018 17:25

Then to notify when I change a property within the entity in an observable collection, I've used a notify property within the as an example. I think yours is slightly different, but they overlap on the concepts. Observable Collection Notify when property changed in MVVM EDIT If the datagrid is sorted the previous method will not update the grid.To handle this you need to refresh the grid's view, but are unable to directly access it using MVVM.First, I'm using a straight property for my Observable Collection.

instead of dxg: Look Up Edit can u try using wpf's combobox, is dxg: Look Up Edit a custom/thrid party control ?To do this, I have created a separate property on the View Model called Customer Summary Details which contains simply a get, that returns the collection contained within the customer I mentioned above.In the XAML I have bound the Items Source to the Customer Summary Details Property.I have stepped in and the set method of the Selected Customer is being called, and I then follow the On Property Changed("Customer Summary Details") call which goes into the "get" method of the Customer Summary Details property as expected.I have delved into the value of the returned collection at this point, and the value within the list is the updated value, however nothing is getting reflected on the GUI, so I am puzzled as it seems the GUI is calling the get method to update it on the On Property Changed() call, but it is not reflecting visually.

wpf binding observablecollection not updating-49wpf binding observablecollection not updating-58wpf binding observablecollection not updating-15

Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

One thought on “wpf binding observablecollection not updating”