ListView reorder item triggers ObservableCollection Remove and Add instead of Move #9685
Labels
area-Lists
ListView, GridView, ListBox, etc
feature proposal
New feature proposal
team-Controls
Issue for the Controls team
Describe the bug
It seems to be a history problem but it still confusing me that reorder item doesn't trigger ObservableCollection.Move method. I want to detect if some item is reordered, however I can not find any solution. Default ListView reordering behavior is remove item from the ObservableCollection and then add item to the ObservableCollection. Hence I can not determine whether item is reorder or add/remove. It's so weird. Is there any solution to detect reordering?
Steps to reproduce the bug
Expected behavior
ObservableCollection's CollectionChanged should be triggered only once with NotifyCollectionChangedAction=Move
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: