We want our app to update even when we modify an item in our collection, so we’ll be implementing our i Notify Property Changed in our data model, the Employee class.
First the code, then the explanation: The INotify Property Changed interface basically adds an event to the Employee class.
The keys are compared by using a specified comparer.(Defined by Enumerable.)Overloaded.Immersive Tip: snap Visual Studio and your browser window next to each other and rewrite the code yourself on this page while carefully analyzing the Intelli Sense. When running it now, you’ll see your UI updating both when the collection gets modified and its children’s properties get modified.Again, this might be basic for some, but it’s an essential skill to master and it applies to both WPF, Silverlight and Windows 8 development.So if you want to know the change in items of the collection you need to subscribe to the Collection Changed event of the Observable Collection But there is a problem with Observable Collection.Collection Changed event – it does not fire when your data item’s property changes. That is if you have a collection of an Entity “Expense” that has properties “Name” and “Amount” and if you simply change the Amount value in the grid it does not work!