Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I haven't worked in WPF for a long time, but you might try setting a new list (clone the old one and add the new element) instead of adding the element to the existing list: _demo.Value++; var ne...
Answer
#1: Initial revision
I haven't worked in WPF for a long time, but you might try setting a new list (clone the old one and add the new element) instead of adding the element to the existing list: ```c# _demo.Value++; var newList = new List(_demo.AllValues); newList.Add(_demo.Value); _demo.AllValues = newList; OnPropertyChanged("Demo"); ``` I do not how WPF & MVVCM work internally, but this is a usual patterns in other frameworks such as Angular, mandatory when working with a [Redux-like pattern](https://redux.js.org/faq/immutable-data#what-are-the-benefits-of-immutability) (you never directly mutate the state, but clone in + make changes)