45 references to NotifyCollectionChangedEventArgs
Microsoft.Maui.Controls (4)
Internals\NotifyCollectionChangedEventArgsEx.cs (1)
55 public NotifyCollectionChangedEventArgsEx(int count, NotifyCollectionChangedAction action, object changedItem, int index) : base(action, changedItem, index)
ObservableWrapper.cs (1)
212 var args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removedItem, outerRemovedIndex);
TemplatedItemsList.cs (2)
1172 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, e.NewItems[i], e.NewStartingIndex + i)); 1181 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, e.OldItems[i], e.OldStartingIndex + i));
PresentationCore (2)
System\Windows\FreezableCollection.cs (2)
746args = new NotifyCollectionChangedEventArgs(action, newValue, newIndex); 749args = new NotifyCollectionChangedEventArgs(action, oldValue, oldIndex);
PresentationFramework (37)
MS\Internal\Annotations\AnnotationResourceCollection.cs (1)
111OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, 0));
MS\Internal\Controls\InnerItemCollectionView.cs (3)
217OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item, indexV)); 289OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item, index)); 687OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index));
MS\Internal\Data\CollectionViewGroupRoot.cs (4)
146OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item, globalIndex)); 165OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, globalIndex)); 497OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item, index)); 756OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, leafIndex));
MS\Internal\Data\CompositeCollectionView.cs (3)
443args = new NotifyCollectionChangedEventArgs(args.Action, item, index); 740args = new NotifyCollectionChangedEventArgs(args.Action, args.NewItems[0], flatNewIndex); 752args = new NotifyCollectionChangedEventArgs(args.Action, args.OldItems[0], flatOldIndex);
System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
43: base (action, changedItem, index)
System\Windows\Controls\MultipleCopiesCollection.cs (1)
424OnCollectionChanged(new NotifyCollectionChangedEventArgs(action, item, index));
System\Windows\Data\BindingListCollectionView.cs (7)
452args = new NotifyCollectionChangedEventArgs( 459args = new NotifyCollectionChangedEventArgs( 472args = new NotifyCollectionChangedEventArgs( 496args = new NotifyCollectionChangedEventArgs( 642ProcessCollectionChanged(new NotifyCollectionChangedEventArgs( 1931forwardedArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item, index + delta); 1972forwardedArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index + delta);
System\Windows\Data\CompositeCollection.cs (1)
513CollectionChanged(this, new NotifyCollectionChangedEventArgs(action, item, index));
System\Windows\Data\ListCollectionView.cs (15)
565args = new NotifyCollectionChangedEventArgs( 572args = new NotifyCollectionChangedEventArgs( 585args = new NotifyCollectionChangedEventArgs( 609args = new NotifyCollectionChangedEventArgs( 817new NotifyCollectionChangedEventArgs( 873new NotifyCollectionChangedEventArgs( 935new NotifyCollectionChangedEventArgs( 970new NotifyCollectionChangedEventArgs( 1131ProcessCollectionChanged(new NotifyCollectionChangedEventArgs( 1242new NotifyCollectionChangedEventArgs( 1285new NotifyCollectionChangedEventArgs( 1922args = new NotifyCollectionChangedEventArgs(effectiveAction, newItem, adjustedNewIndex); 1960args = new NotifyCollectionChangedEventArgs(effectiveAction, args.OldItems[0], adjustedOldIndex); 3170new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, 3210new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add,
System\Windows\Documents\DocumentReferenceCollection.cs (1)
163args = new NotifyCollectionChangedEventArgs(action, item, index);
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (1)
252OnCollectionChanged(new NotifyCollectionChangedEventArgs(action, item, index));
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (1)
42this(action, changedItem, -1)