1 interface inheriting from INotifyCollectionChanged
Microsoft.Maui.Controls (1)
ITemplatedItemsList.cs (1)
11 public interface ITemplatedItemsList<TItem> : IReadOnlyList<TItem>, INotifyCollectionChanged where TItem : BindableObject
23 implementations of INotifyCollectionChanged
Microsoft.Maui (1)
Primitives\LockableObservableListWrapper.cs (1)
12 public class LockableObservableListWrapper : IList<string>, ICollection<string>, INotifyCollectionChanged, INotifyPropertyChanged, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable
Microsoft.Maui.Controls (8)
Items\MarshalingObservableCollection.cs (1)
16 public class MarshalingObservableCollection : List<object>, INotifyCollectionChanged
ListProxy.cs (1)
12 internal sealed class ListProxy : IReadOnlyList<object>, IListProxy, INotifyCollectionChanged
ObservableWrapper.cs (1)
10 internal class ObservableWrapper<TTrack, TRestrict> : IList<TRestrict>, IList, INotifyCollectionChanged where TTrack : Element where TRestrict : TTrack
Shell\MenuItemCollection.cs (1)
10 public sealed class MenuItemCollection : IEnumerable<MenuItem>, IList<MenuItem>, INotifyCollectionChanged
Shell\ShellElementCollection.cs (1)
15 INotifyCollectionChanged
SwipeView\SwipeItems.cs (1)
13 public class SwipeItems : Element, IList<ISwipeItem>, INotifyCollectionChanged
TableView\TableSection.cs (1)
13 public abstract class TableSectionBase<T> : TableSectionBase, IList<T>, IVisualTreeElement, INotifyCollectionChanged where T : BindableObject
TemplatedItemsList.cs (1)
1226 class ShortNamesProxy : IReadOnlyList<string>, INotifyCollectionChanged, IDisposable
PresentationCore (3)
System\Windows\FreezableCollection.cs (1)
25public class FreezableCollection<T>: Animatable, IList, IList<T>, INotifyCollectionChanged, INotifyPropertyChanged
System\Windows\Ink\StrokeCollection.cs (1)
21public partial class StrokeCollection : Collection<Stroke>, INotifyPropertyChanged, INotifyCollectionChanged
System\Windows\Ink\StrokeCollection2.cs (1)
18public partial class StrokeCollection : Collection<Stroke>, INotifyPropertyChanged, INotifyCollectionChanged
PresentationFramework (9)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
24internal class CollectionViewGroupRoot : CollectionViewGroupInternal, INotifyCollectionChanged
MS\Internal\Navigation\JournalEntryStack.cs (2)
14internal abstract class JournalEntryStack : IEnumerable, INotifyCollectionChanged 152internal class LimitedJournalEntryStackEnumerable : IEnumerable, INotifyCollectionChanged
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
16internal class DataGridColumnHeaderCollection : IEnumerable, INotifyCollectionChanged, IDisposable
System\Windows\Controls\MultipleCopiesCollection.cs (1)
22INotifyCollectionChanged,
System\Windows\Data\CollectionContainer.cs (1)
26public class CollectionContainer : DependencyObject, INotifyCollectionChanged, IWeakEventListener
System\Windows\Data\CompositeCollection.cs (1)
26public class CompositeCollection : IList, INotifyCollectionChanged, ICollectionViewFactory, IWeakEventListener
System\Windows\Documents\DocumentReferenceCollection.cs (1)
20public sealed class DocumentReferenceCollection : IEnumerable<DocumentReference>, INotifyCollectionChanged
System\Windows\Navigation\JournalEntryListConverter.cs (1)
139internal class UnifiedJournalEntryStackEnumerable : IEnumerable, INotifyCollectionChanged
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (1)
22public class ObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
19public class ReadOnlyObservableCollection<T> : ReadOnlyCollection<T>, INotifyCollectionChanged, INotifyPropertyChanged
98 references to INotifyCollectionChanged
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
179|| sysType == typeof(System.Collections.Specialized.INotifyCollectionChanged)
Microsoft.Maui (3)
Primitives\LockableObservableListWrapper.cs (3)
16 event NotifyCollectionChangedEventHandler? INotifyCollectionChanged.CollectionChanged 18 add { ((INotifyCollectionChanged)_list).CollectionChanged += value; } 19 remove { ((INotifyCollectionChanged)_list).CollectionChanged -= value; }
Microsoft.Maui.Controls (27)
BindableLayout\BindableLayout.cs (2)
278 if (_itemsSource is INotifyCollectionChanged) 285 if (_itemsSource is INotifyCollectionChanged c)
Border\Border.cs (2)
241 if (StrokeDashArray is INotifyCollectionChanged oldCollection) 246 if (StrokeDashArray is INotifyCollectionChanged newCollection)
IndicatorView\IndicatorView.cs (2)
159 if (oldItemsSource is INotifyCollectionChanged oldCollection) 162 if (ItemsSource is INotifyCollectionChanged collection)
Internals\WeakEventProxy.cs (5)
65 class WeakNotifyCollectionChangedProxy : WeakEventProxy<INotifyCollectionChanged, NotifyCollectionChangedEventHandler> 69 public WeakNotifyCollectionChangedProxy(INotifyCollectionChanged source, NotifyCollectionChangedEventHandler handler) 86 public override void Subscribe(INotifyCollectionChanged source, NotifyCollectionChangedEventHandler handler) 88 if (TryGetSource(out var s)) 99 if (TryGetSource(out var s))
Items\MarshalingObservableCollection.cs (2)
24 if (!(list is INotifyCollectionChanged incc)) 25 throw new ArgumentException($"{nameof(list)} must implement {nameof(INotifyCollectionChanged)}");
Items\SelectionList.cs (1)
24 if (items is INotifyCollectionChanged incc)
ListProxy.cs (1)
47 if (enumerable is INotifyCollectionChanged changed)
Picker\Picker.cs (5)
70 ((INotifyCollectionChanged)Items).CollectionChanged += OnItemsCollectionChanged; 264 var oldObservable = oldValue as INotifyCollectionChanged; 268 var newObservable = newValue as INotifyCollectionChanged;
Shell\MenuItemCollection.cs (3)
14 event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged 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.Maps (2)
Map.cs (2)
269 if (oldItemsSource is INotifyCollectionChanged ncc) 274 if (newItemsSource is INotifyCollectionChanged ncc1)
netstandard (1)
netstandard.cs (1)
158[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.INotifyCollectionChanged))]
PresentationCore (4)
System\Windows\FreezableCollection.cs (3)
533/// CollectionChanged event (per <see cref="INotifyCollectionChanged" />). 535event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged 551/// see <seealso cref="INotifyCollectionChanged"/>
System\Windows\Ink\StrokeCollection.cs (1)
604event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
PresentationFramework (53)
MS\Internal\Controls\InnerItemCollectionView.cs (2)
742((INotifyCollectionChanged)_sort).CollectionChanged -= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged); 750((INotifyCollectionChanged)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
MS\Internal\Data\CompositeCollectionView.cs (1)
351/// this will simply raise a Reset event to <seealso cref="INotifyCollectionChanged.CollectionChanged"/> listeners.
MS\Internal\Data\EnumerableCollectionView.cs (3)
41_pollForChanges = !(source is INotifyCollectionChanged); 56INotifyCollectionChanged incc = _view as INotifyCollectionChanged;
MS\Internal\Data\IndexedEnumerable.cs (4)
60INotifyCollectionChanged icc = collection as INotifyCollectionChanged; 341INotifyCollectionChanged icc = Enumerable as INotifyCollectionChanged;
MS\Internal\Data\ViewManager.cs (1)
746if (!(collection is INotifyCollectionChanged))
MS\Internal\Navigation\JournalEntryStack.cs (2)
157INotifyCollectionChanged ichildnotify = ieble as INotifyCollectionChanged;
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)
602((INotifyCollectionChanged)MySortDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged); 688((INotifyCollectionChanged)MyGroupDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(GroupDescriptionsChanged); 1375((INotifyCollectionChanged)MyLiveSortingProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(LiveSortingChanged); 1408((INotifyCollectionChanged)MyLiveFilteringProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(LiveFilteringChanged); 1445((INotifyCollectionChanged)MyLiveGroupingProperties).CollectionChanged += new NotifyCollectionChangedEventHandler(LiveGroupingChanged);
System\Windows\Controls\ItemContainerGenerator.cs (3)
1263INotifyCollectionChanged incc = _items as INotifyCollectionChanged; 1272incc = _items as INotifyCollectionChanged;
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\CollectionContainer.cs (1)
247event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
System\Windows\Data\CollectionView.cs (6)
96INotifyCollectionChanged incc = collection as INotifyCollectionChanged; 673INotifyCollectionChanged incc = _sourceCollection as INotifyCollectionChanged; 774/// CollectionChanged event (per <see cref="INotifyCollectionChanged" />). 776event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
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\CompositeCollection.cs (2)
390/// <see cref="INotifyCollectionChanged" /> 392event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
System\Windows\Data\ListCollectionView.cs (6)
70((INotifyCollectionChanged)_group).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupChanged); 71((INotifyCollectionChanged)_group.GroupDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupByChanged); 756if (!(SourceList is INotifyCollectionChanged)) 1105bool raiseEvent = !(SourceList is INotifyCollectionChanged); 2912((INotifyCollectionChanged)_sort).CollectionChanged -= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged); 2920((INotifyCollectionChanged)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
System\Windows\Documents\DocumentReferenceCollection.cs (1)
122/// see <seealso cref="INotifyCollectionChanged" />
System (1)
src\libraries\shims\System\ref\System.cs (1)
147[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.INotifyCollectionChanged))]
System.ObjectModel (4)
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (4)
27((INotifyCollectionChanged)Items).CollectionChanged += new NotifyCollectionChangedEventHandler(HandleCollectionChanged); 37/// CollectionChanged event (per <see cref="INotifyCollectionChanged" />). 39event NotifyCollectionChangedEventHandler? INotifyCollectionChanged.CollectionChanged 49/// see <seealso cref="INotifyCollectionChanged"/>
System.Windows (1)
System.Windows.cs (1)
6[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.INotifyCollectionChanged))]
WindowsBase (1)
WindowsBase.cs (1)
6[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.INotifyCollectionChanged))]