Support Bulk Operations in ListCollectionView via ObservableCollection<T>
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
To support corefx [10752](https://github.com/dotnet/corefx/issues/10752), surfaced by corefx issue [38085](https://github.com/dotnet/corefx/issues/38085).
In .NET Core 3 Preview 7, the CoreFX team introduced support for ranges via `Collection` and `ObservableCollection`. WPF is not able to handle how the new implementation of `AddRange` on `Collection` as the add is done as a bulk insert at the end which changes the behavior of 'ListCollectionView` which does not support bulk operations and throws an https://github.com/dotnet/wpf/blob/master/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Data/ListCollectionView.cs#L2521.
The net effect here is that a common helper method that is used in many WPF apps (`AddRange` to an `ObservableCollection` no longer binds and the replacement method's behavior has a negative and observable side effect.
Adding issue for .NET 5 consideration
Contributor guide
Assessment
This issue has not been assessed yet.