private void Collection_ItemRemoved(object sender, ObservableCollectionChangedEventArgs <T> e) { if (e.Index <= _index) { --_index; } }
void Collection_ItemInserted(object sender, ObservableCollectionChangedEventArgs <T> e) { if (e.Index <= _index) { ++_index; } }