I am using a BindingList
in my code because I want the extra features that ObservableCollection
is lacking. Mainly the ItemChanged
event being raised when one of the items in the list that implement INotifyPropertyChanged
has a property that has changed.
But, on the code that subscribes to the ListChanged
event I am having difficulty to get which items were deleted.
The event, when raised, gives me the index of the item for which "something happend" on it.
So in the case of ItemAdded
and ItemChanged
events, I can get the item directly using the index. But in the case of deleted? How can I retrieve which item was deleted?