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)
535
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.
CollectionChanged
System\Windows\Ink\StrokeCollection.cs (1)
598
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.
CollectionChanged
PresentationFramework (10)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
35
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
MS\Internal\Navigation\JournalEntryStack.cs (2)
46
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
179
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
197
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
System\Windows\Controls\MultipleCopiesCollection.cs (1)
417
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
System\Windows\Data\CollectionContainer.cs (1)
244
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.
CollectionChanged
System\Windows\Data\CollectionView.cs (1)
773
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.
CollectionChanged
System\Windows\Data\CompositeCollection.cs (1)
392
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.
CollectionChanged
System\Windows\Documents\DocumentReferenceCollection.cs (1)
124
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
System\Windows\Navigation\JournalEntryListConverter.cs (1)
185
public event NotifyCollectionChangedEventHandler
CollectionChanged
;
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (1)
84
public virtual event NotifyCollectionChangedEventHandler?
CollectionChanged
;
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
39
event NotifyCollectionChangedEventHandler? INotifyCollectionChanged.
CollectionChanged
WindowsBase.Tests (3)
System\Collections\Specialized\CollectionChangedEventManagerTests.cs (1)
543
public event NotifyCollectionChangedEventHandler?
CollectionChanged
;
System\ComponentModel\CurrentChangedEventManagerTests.cs (1)
601
public event NotifyCollectionChangedEventHandler?
CollectionChanged
;
System\ComponentModel\CurrentChangingEventManagerTests.cs (1)
583
public event NotifyCollectionChangedEventHandler?
CollectionChanged
;
117 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 (38)
Border\Border.cs (2)
242
oldCollection.
CollectionChanged
-= OnStrokeDashArrayChanged;
247
newCollection.
CollectionChanged
+= OnStrokeDashArrayChanged;
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (5)
135
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
-= OnContextItemsChanged;
137
((INotifyCollectionChanged)cell.ContextActions).
CollectionChanged
+= OnContextItemsChanged;
157
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
-= OnContextItemsChanged;
172
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
+= OnContextItemsChanged;
293
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
-= OnContextItemsChanged;
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (5)
157
templatedItems.
CollectionChanged
-= OnCollectionChanged;
218
templatedItems.
CollectionChanged
-= OnCollectionChanged;
253
templatedItems.
CollectionChanged
+= OnCollectionChanged;
1469
incc.
CollectionChanged
+= OnShortNamesCollectionChanged;
1473
incc.
CollectionChanged
-= OnShortNamesCollectionChanged;
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (3)
201
((INotifyCollectionChanged)oldPage.ToolbarItems).
CollectionChanged
-= OnToolbarItemsChanged;
213
((INotifyCollectionChanged)newPage.ToolbarItems).
CollectionChanged
+= OnToolbarItemsChanged;
889
((INotifyCollectionChanged)Page.ToolbarItems).
CollectionChanged
-= OnToolbarItemsChanged;
Compatibility\Handlers\Shell\iOS\ShellSearchResultsRenderer.cs (3)
99
listProxy.
CollectionChanged
-= OnProxyCollectionChanged;
171
((INotifyCollectionChanged)e.OldList).
CollectionChanged
-= OnProxyCollectionChanged;
178
((INotifyCollectionChanged)e.NewList).
CollectionChanged
+= OnProxyCollectionChanged;
Handlers\Items\iOS\ObservableGroupedSource.cs (2)
26
incc.
CollectionChanged
+= CollectionChanged;
113
incc.
CollectionChanged
-= CollectionChanged;
Handlers\Items\iOS\ObservableItemsSource.cs (2)
30
((INotifyCollectionChanged)itemSource).
CollectionChanged
+= CollectionChanged;
55
((INotifyCollectionChanged)_itemsSource).
CollectionChanged
-= CollectionChanged;
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)
72
((INotifyCollectionChanged)Items).
CollectionChanged
+= OnItemsCollectionChanged;
268
oldObservable.
CollectionChanged
-= CollectionChanged;
273
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)
175
(Items as INotifyCollectionChanged).
CollectionChanged
+= ItemsCollectionChanged;
Microsoft.Maui.Controls.Compatibility (17)
iOS\CollectionView\ObservableGroupedSource.cs (2)
27
incc.
CollectionChanged
+= CollectionChanged;
104
incc.
CollectionChanged
-= CollectionChanged;
iOS\CollectionView\ObservableItemsSource.cs (2)
31
((INotifyCollectionChanged)itemSource).
CollectionChanged
+= CollectionChanged;
54
((INotifyCollectionChanged)_itemsSource).
CollectionChanged
-= CollectionChanged;
iOS\ContextActionCell.cs (5)
140
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
-= OnContextItemsChanged;
142
((INotifyCollectionChanged)cell.ContextActions).
CollectionChanged
+= OnContextItemsChanged;
162
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
-= OnContextItemsChanged;
177
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
+= OnContextItemsChanged;
298
((INotifyCollectionChanged)_cell.ContextActions).
CollectionChanged
-= OnContextItemsChanged;
iOS\Renderers\ListViewRenderer.cs (5)
195
templatedItems.
CollectionChanged
-= OnCollectionChanged;
262
templatedItems.
CollectionChanged
-= OnCollectionChanged;
296
templatedItems.
CollectionChanged
+= OnCollectionChanged;
1447
incc.
CollectionChanged
+= OnShortNamesCollectionChanged;
1451
incc.
CollectionChanged
-= OnShortNamesCollectionChanged;
iOS\Renderers\PickerRenderer.cs (3)
72
((INotifyCollectionChanged)e.OldElement.Items).
CollectionChanged
-= RowsCollectionChanged;
127
((INotifyCollectionChanged)e.NewElement.Items).
CollectionChanged
+= RowsCollectionChanged;
347
((INotifyCollectionChanged)Element.Items).
CollectionChanged
-= RowsCollectionChanged;
Microsoft.Maui.Controls.Maps (2)
Map.cs (2)
271
ncc.
CollectionChanged
-= OnItemsSourceCollectionChanged;
276
ncc1.
CollectionChanged
+= OnItemsSourceCollectionChanged;
PresentationFramework (34)
MS\Internal\Controls\InnerItemCollectionView.cs (2)
742
((INotifyCollectionChanged)_sort).
CollectionChanged
-= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
750
((INotifyCollectionChanged)_sort).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
MS\Internal\Data\CollectionViewProxy.cs (2)
39
view.
CollectionChanged
+= new NotifyCollectionChangedEventHandler(_OnViewChanged);
362
_view.
CollectionChanged
-= new NotifyCollectionChangedEventHandler(_OnViewChanged);
MS\Internal\Data\CompositeCollectionView.cs (1)
349
/// this will simply raise a Reset event to <seealso cref="INotifyCollectionChanged.
CollectionChanged
"/> listeners.
MS\Internal\Data\EnumerableCollectionView.cs (1)
57
incc.
CollectionChanged
+= new NotifyCollectionChangedEventHandler(_OnViewChanged);
MS\Internal\Navigation\JournalEntryStack.cs (1)
160
ichildnotify.
CollectionChanged
+= new NotifyCollectionChangedEventHandler(PropogateCollectionChanged);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
40
((INotifyCollectionChanged)_owner.Columns).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnColumnCollectionChanged);
113
((INotifyCollectionChanged)_owner.Columns).
CollectionChanged
-= new NotifyCollectionChangedEventHandler(OnColumnCollectionChanged);
System\Windows\Controls\DataGrid.cs (2)
90
((INotifyCollectionChanged)Items).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnItemsCollectionChanged);
92
((INotifyCollectionChanged)Items.SortDescriptions).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnItemsSortDescriptionsChanged);
System\Windows\Controls\ItemCollection.cs (5)
599
((INotifyCollectionChanged)MySortDescriptions).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
685
((INotifyCollectionChanged)MyGroupDescriptions).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(GroupDescriptionsChanged);
1369
((INotifyCollectionChanged)MyLiveSortingProperties).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(LiveSortingChanged);
1402
((INotifyCollectionChanged)MyLiveFilteringProperties).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(LiveFilteringChanged);
1439
((INotifyCollectionChanged)MyLiveGroupingProperties).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(LiveGroupingChanged);
System\Windows\Controls\ItemsControl.cs (3)
113
((INotifyCollectionChanged)_items).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnItemCollectionChanged1);
122
((INotifyCollectionChanged)_items).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnItemCollectionChanged2);
134
((INotifyCollectionChanged)_groupStyle).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnGroupStyleChanged);
System\Windows\Data\BindingGroup.cs (1)
61
((INotifyCollectionChanged)_bindingExpressions).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnBindingsChanged);
System\Windows\Data\BindingListCollectionView.cs (3)
49
((INotifyCollectionChanged)_group).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnGroupChanged);
50
((INotifyCollectionChanged)_group.GroupDescriptions).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnGroupByChanged);
244
((INotifyCollectionChanged)_sort).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
System\Windows\Data\CollectionView.cs (2)
105
incc.
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnCollectionChanged);
677
incc.
CollectionChanged
-= new NotifyCollectionChangedEventHandler(OnCollectionChanged);
System\Windows\Data\CollectionViewSource.cs (5)
40
((INotifyCollectionChanged)_sort).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged);
43
((INotifyCollectionChanged)_groupBy).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged);
354
((INotifyCollectionChanged)_liveSortingProperties).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged);
475
((INotifyCollectionChanged)_liveFilteringProperties).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged);
596
((INotifyCollectionChanged)_liveGroupingProperties).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnForwardedCollectionChanged);
System\Windows\Data\ListCollectionView.cs (4)
70
((INotifyCollectionChanged)_group).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnGroupChanged);
71
((INotifyCollectionChanged)_group.GroupDescriptions).
CollectionChanged
+= new NotifyCollectionChangedEventHandler(OnGroupByChanged);
2894
((INotifyCollectionChanged)_sort).
CollectionChanged
-= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
2902
((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;