Repository navigation
Conversation
|
This unfortunately requires way more effort, this is just one out of many things that need to be addressed before the runtime PR would be unblocked in a way where it doesn't implement a new type / or using a switch. For example, the changes you've made in Then there's all the other views that would have to be fixed too. |
|
Was thinking about that and had already had some more changes e.g. in the BindingListCollectionView, but I am not sure if all of these really are required. At least I thought that e.g. when using filtering you can't be using a normal ObservalbleCollection, but you would use a different CollectionView(Source). I had forgotten how filtering/grouping works. I already thought it was not complete, that's why I created it as a draft and to also start a discussion to find everything that has to be done. So thanks for your help. Will take a look at filtering next. Never heard about the LiveShapingList (besides seeing the name in the code). I will have to investigate about this. If you or someone else wants to help, the work could also be maybe be split into multiple pull requests. I will also accept pull requests on my branch and my test app to cover more scenarios. |
Fixes #52
Description
This adds support for range notifications coming from INotifyCollectionChanged for Add/Remove/Replace.
I hope I have covered all scenarios where it need to be adjusted. It works with and without
AllowsCrossThreadChanges.Customer Impact
Customers can finally use ObservableCollections that implement range operations. Would also help unblock this: dotnet/runtime#18087
Testing
A test app that hopefully covers all scenarios, see here: https://github.com/Mrxx99/ObservableRangeWpfTestApp
I have run the DRTs successfully.
Risk
I am not aware of any, except of maybe regression bugs.
Microsoft Reviewers: Open in CodeFlow