Wpf binding observablecollection not updating
Property change notifications can be provided either by implementing the INotify Property Changed interface or by using the change notifications associated with the Type Descriptor.However, the preferred strategy for implementing property change notifications is to use INotify Property Changed.The Observable Collection class exists in the System. UI The Observable Collection is already bound to the Listview.So all we need to do in the XAML file is to specify the binding member for each column.There is a significant performance impact when you data bind to a single CLR object with thousands of properties.You can minimize this impact by dividing the single object into multiple CLR objects with fewer properties.In this case, the data binding engine does not need to use reflection.Instead, the property engine and the data binding engine together resolve the property reference independently.
The ICustom Type Descriptor interface is especially useful in cases where the object does not have a static set of properties.
To create a correspondence between these two objects, you would bind your employee list to the Items Source property of the List Box.
However, suppose you have a new employee joining your group.
The second method for resolving object references involves a CLR source object that implements the INotify Property Changed interface, and a source property that is a CLR property.
In this case, the data binding engine uses reflection directly on the source type and gets the required property.