First of all, the selection is not controlled by the DataGridCollectionView but by the DataGridControl. The CurrentItem, however, is handled by the DataGridCollectionView.
In regards to the current item that is being changed during a replace, what happens is that the grid receives a notification to remove the item followed by a notification to add a new item from the DataGridCollectionView (even if in the list only a remove occurs). The result is that the current item is moved and the item is unselected.
I will add a feature request so that a developer can take a look at the current behavior to see if it can be improved.
Senior Technical Writer
- Xceed Software
In three words I can sum up everything I've learned about life: it goes on.