Wpf binding observablecollection not updating

The only way my collections update is if I close the application then restart it. You're window is watching the instance of the view model that you set in your constructor.

I got to the point where I just created a new application with 1 entity and 1 combobox to display a collection and I still can't get the collection to update. This is why the view is not seeing the names you are adding.

I am just starting with MVVM and have hit a hurdle that I hope someone can help me with.

Any modifications to an element within the list will not have have the notify message sent.

To do this, the simplest method is to implement the to the elements used in the Observable Collection I'm using PRISM 5 in the example, so it should be pretty equal to what you're doing.

I went through several SO questions, but cannot see what I'm doing wrong. You still need to implement INotify Property Changed and have individual properties notify that they've updated otherwise the binding subsystem will never know that the observable collection was assigned to the property.

Here your Property Track List Observable must be a INotify Property or Dependency Property.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “wpf binding observablecollection not updating”

  1. So, lets look at a few typical examples of bad profiles: “I am not good at writing about myself, but my friends say that I am intelligent, professional, educated and ambitious. I am looking to a meet an intelligent, beautiful woman for dating and relationship.” – at first, this looks like a well-written profile by a guy who seems to have head on his shoulders. There is nothing “catchy” about this profile – there is nothing that would compel a reader to stop and respond to it.