27 implementations of CollectionChanged
Microsoft.Maui (1)
Primitives\LockableObservableListWrapper.cs (1)
16 event NotifyCollectionChangedEventHandler? INotifyCollectionChanged.CollectionChanged
Microsoft.Maui.Controls (9)
Items\MarshalingObservableCollection.cs (1)
45 public event NotifyCollectionChangedEventHandler CollectionChanged;
ListProxy.cs (1)
110 public event NotifyCollectionChangedEventHandler CollectionChanged;
ObservableWrapper.cs (1)
170 public event NotifyCollectionChangedEventHandler CollectionChanged;
Shell\MenuItemCollection.cs (1)
14 event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
Shell\ShellElementCollection.cs (1)
20 public event NotifyCollectionChangedEventHandler CollectionChanged;
SwipeView\SwipeItems.cs (1)
56 public event NotifyCollectionChangedEventHandler CollectionChanged;
TableView\TableSection.cs (1)
127 public event NotifyCollectionChangedEventHandler CollectionChanged
TemplatedItemsList.cs (2)
336 public event NotifyCollectionChangedEventHandler CollectionChanged; 1269 public event NotifyCollectionChangedEventHandler CollectionChanged;
PresentationCore (2)
System\Windows\FreezableCollection.cs (1)
534event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
System\Windows\Ink\StrokeCollection.cs (1)
597event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
PresentationFramework (10)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
34public event NotifyCollectionChangedEventHandler CollectionChanged;
MS\Internal\Navigation\JournalEntryStack.cs (2)
45public event NotifyCollectionChangedEventHandler CollectionChanged; 178public event NotifyCollectionChangedEventHandler CollectionChanged;
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
196public event NotifyCollectionChangedEventHandler CollectionChanged;
System\Windows\Controls\MultipleCopiesCollection.cs (1)
416public event NotifyCollectionChangedEventHandler CollectionChanged;
System\Windows\Data\CollectionContainer.cs (1)
243event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
System\Windows\Data\CollectionView.cs (1)
772event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
System\Windows\Data\CompositeCollection.cs (1)
391event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
System\Windows\Documents\DocumentReferenceCollection.cs (1)
123public event NotifyCollectionChangedEventHandler CollectionChanged;
System\Windows\Navigation\JournalEntryListConverter.cs (1)
184public event NotifyCollectionChangedEventHandler CollectionChanged;
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (1)
84public virtual event NotifyCollectionChangedEventHandler? CollectionChanged;
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
39event NotifyCollectionChangedEventHandler? INotifyCollectionChanged.CollectionChanged
WindowsBase.Tests (3)
System\Collections\Specialized\CollectionChangedEventManagerTests.cs (1)
543public event NotifyCollectionChangedEventHandler? CollectionChanged;
System\ComponentModel\CurrentChangedEventManagerTests.cs (1)
601public event NotifyCollectionChangedEventHandler? CollectionChanged;
System\ComponentModel\CurrentChangingEventManagerTests.cs (1)
583public event NotifyCollectionChangedEventHandler? CollectionChanged;
80 references to CollectionChanged
Microsoft.Maui (2)
Primitives\LockableObservableListWrapper.cs (2)
18 add { ((INotifyCollectionChanged)_list).CollectionChanged += value; } 19 remove { ((INotifyCollectionChanged)_list).CollectionChanged -= value; }
Microsoft.Maui.Controls (18)
Border\Border.cs (2)
242 oldCollection.CollectionChanged -= OnStrokeDashArrayChanged; 247 newCollection.CollectionChanged += OnStrokeDashArrayChanged;
IndicatorView\IndicatorView.cs (2)
163 oldCollection.CollectionChanged -= OnCollectionChanged; 166 collection.CollectionChanged += OnCollectionChanged;
Internals\WeakEventProxy.cs (3)
90 s.CollectionChanged -= OnCollectionChanged; 93 source.CollectionChanged += OnCollectionChanged; 101 s.CollectionChanged -= OnCollectionChanged;
Items\MarshalingObservableCollection.cs (1)
30 incc.CollectionChanged += InternalCollectionChanged;
Items\SelectionList.cs (1)
26 incc.CollectionChanged += OnCollectionChanged;
Picker\Picker.cs (3)
73 ((INotifyCollectionChanged)Items).CollectionChanged += OnItemsCollectionChanged; 269 oldObservable.CollectionChanged -= CollectionChanged; 274 newObservable.CollectionChanged += CollectionChanged;
Shell\MenuItemCollection.cs (2)
16 add { ((INotifyCollectionChanged)_inner).CollectionChanged += value; } 17 remove { ((INotifyCollectionChanged)_inner).CollectionChanged -= value; }
Shell\ShellContent.cs (1)
122 ((INotifyCollectionChanged)MenuItems).CollectionChanged += MenuItemsCollectionChanged;
Shell\ShellElementCollection.cs (2)
41 ((INotifyCollectionChanged)_inner).CollectionChanged += InnerCollectionChanged; 70 ((INotifyCollectionChanged)_visibleItems).CollectionChanged += OnVisibleItemsChanged;
Shell\ShellItem.cs (1)
177 (Items as INotifyCollectionChanged).CollectionChanged += ItemsCollectionChanged;
Microsoft.Maui.Controls.Maps (2)
Map.cs (2)
271 ncc.CollectionChanged -= OnItemsSourceCollectionChanged; 276 ncc1.CollectionChanged += OnItemsSourceCollectionChanged;
PresentationFramework (34)
MS\Internal\Controls\InnerItemCollectionView.cs (2)
741((INotifyCollectionChanged)_sort).CollectionChanged -= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged); 749((INotifyCollectionChanged)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
MS\Internal\Data\CollectionViewProxy.cs (2)
38view.CollectionChanged += new NotifyCollectionChangedEventHandler(_OnViewChanged); 361_view.CollectionChanged -= new NotifyCollectionChangedEventHandler(_OnViewChanged);
MS\Internal\Data\CompositeCollectionView.cs (1)
348/// this will simply raise a Reset event to <seealso cref="INotifyCollectionChanged.CollectionChanged"/> listeners.
MS\Internal\Data\EnumerableCollectionView.cs (1)
56incc.CollectionChanged += new NotifyCollectionChangedEventHandler(_OnViewChanged);
MS\Internal\Navigation\JournalEntryStack.cs (1)
159ichildnotify.CollectionChanged += new NotifyCollectionChangedEventHandler(PropogateCollectionChanged);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
39((INotifyCollectionChanged)_owner.Columns).CollectionChanged += new NotifyCollectionChangedEventHandler(OnColumnCollectionChanged); 112((INotifyCollectionChanged)_owner.Columns).CollectionChanged -= new NotifyCollectionChangedEventHandler(OnColumnCollectionChanged);
System\Windows\Controls\DataGrid.cs (2)
89((INotifyCollectionChanged)Items).CollectionChanged += new NotifyCollectionChangedEventHandler(OnItemsCollectionChanged); 91((INotifyCollectionChanged)Items.SortDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnItemsSortDescriptionsChanged);
System\Windows\Controls\ItemCollection.cs (5)
598((INotifyCollectionChanged)MySortDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged); 683((INotifyCollectionChanged)MyGroupDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(GroupDescriptionsChanged); 1367((INotifyCollectionChanged)MyLiveSortingProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(LiveSortingChanged); 1400((INotifyCollectionChanged)MyLiveFilteringProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(LiveFilteringChanged); 1437((INotifyCollectionChanged)MyLiveGroupingProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(LiveGroupingChanged);
System\Windows\Controls\ItemsControl.cs (3)
112((INotifyCollectionChanged)_items).CollectionChanged += new NotifyCollectionChangedEventHandler(OnItemCollectionChanged1); 121((INotifyCollectionChanged)_items).CollectionChanged += new NotifyCollectionChangedEventHandler(OnItemCollectionChanged2); 133((INotifyCollectionChanged)_groupStyle).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupStyleChanged);
System\Windows\Data\BindingGroup.cs (1)
60((INotifyCollectionChanged)_bindingExpressions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnBindingsChanged);
System\Windows\Data\BindingListCollectionView.cs (3)
48((INotifyCollectionChanged)_group).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupChanged); 49((INotifyCollectionChanged)_group.GroupDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupByChanged); 243((INotifyCollectionChanged)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
System\Windows\Data\CollectionView.cs (2)
104incc.CollectionChanged += new NotifyCollectionChangedEventHandler(OnCollectionChanged); 676incc.CollectionChanged -= new NotifyCollectionChangedEventHandler(OnCollectionChanged);
System\Windows\Data\CollectionViewSource.cs (5)
39((INotifyCollectionChanged)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged); 42((INotifyCollectionChanged)_groupBy).CollectionChanged += new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged); 353((INotifyCollectionChanged)_liveSortingProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged); 474((INotifyCollectionChanged)_liveFilteringProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged); 595((INotifyCollectionChanged)_liveGroupingProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged);
System\Windows\Data\ListCollectionView.cs (4)
69((INotifyCollectionChanged)_group).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupChanged); 70((INotifyCollectionChanged)_group.GroupDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupByChanged); 2893((INotifyCollectionChanged)_sort).CollectionChanged -= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged); 2901((INotifyCollectionChanged)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
System.ObjectModel (1)
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
27((INotifyCollectionChanged)Items).CollectionChanged += new NotifyCollectionChangedEventHandler(HandleCollectionChanged);
WindowsBase.Tests (23)
System\ComponentModel\SortDescriptionCollectionTests.cs (23)
29((INotifyCollectionChanged)collection).CollectionChanged += handler; 32((INotifyCollectionChanged)collection).CollectionChanged -= handler; 36((INotifyCollectionChanged)collection).CollectionChanged -= handler; 40((INotifyCollectionChanged)collection).CollectionChanged += null; 44((INotifyCollectionChanged)collection).CollectionChanged -= null; 82((INotifyCollectionChanged)collection).CollectionChanged += handler; 101((INotifyCollectionChanged)collection).CollectionChanged -= handler; 168((INotifyCollectionChanged)collection).CollectionChanged += handler; 197((INotifyCollectionChanged)collection).CollectionChanged -= handler; 247((INotifyCollectionChanged)collection).CollectionChanged += handler; 276((INotifyCollectionChanged)collection).CollectionChanged -= handler; 336((INotifyCollectionChanged)collection).CollectionChanged += handler; 365((INotifyCollectionChanged)collection).CollectionChanged -= handler; 418((INotifyCollectionChanged)collection).CollectionChanged += handler; 454((INotifyCollectionChanged)collection).CollectionChanged -= handler; 490((INotifyCollectionChanged)collection).CollectionChanged += handler; 526((INotifyCollectionChanged)collection).CollectionChanged -= handler; 572((INotifyCollectionChanged)collection).CollectionChanged += handler; 601((INotifyCollectionChanged)collection).CollectionChanged -= handler; 658((INotifyCollectionChanged)collection).CollectionChanged += handler; 687((INotifyCollectionChanged)collection).CollectionChanged -= handler; 738((INotifyCollectionChanged)collection).CollectionChanged += handler; 757((INotifyCollectionChanged)collection).CollectionChanged -= handler;