I have a WPF ListBox bound to an ObservableCollection. I am using the IEditableCollectionViewAddNewItem interface to add new items to the collection.
If the CollectionView is grouped AND sorted, AND the underlying collection is empty, the first call to AddNewItem doesn't update the UI. The second call to AddNewItem results in an ArgumentOutOfRangeException.
If I remove the grouping, OR I remove the sorting, OR the collection is not empty, then the AddNewItem method works perfectly.
This problem also applies to the IEditableCollectionView.AddNew method.