1 interface inheriting from INotifyCollectionChanged
Microsoft.Maui.Controls (1)
ITemplatedItemsList.cs (1)
11
public interface ITemplatedItemsList<TItem> : IReadOnlyList<TItem>,
INotifyCollectionChanged
where TItem : BindableObject
24 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)
24
public class FreezableCollection<T>: Animatable, IList, IList<T>,
INotifyCollectionChanged
, INotifyPropertyChanged
System\Windows\Ink\StrokeCollection.cs (1)
20
public partial class StrokeCollection : Collection<Stroke>, INotifyPropertyChanged,
INotifyCollectionChanged
System\Windows\Ink\StrokeCollection2.cs (1)
17
public partial class StrokeCollection : Collection<Stroke>, INotifyPropertyChanged,
INotifyCollectionChanged
PresentationFramework (9)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
23
internal class CollectionViewGroupRoot : CollectionViewGroupInternal,
INotifyCollectionChanged
MS\Internal\Navigation\JournalEntryStack.cs (2)
13
internal abstract class JournalEntryStack : IEnumerable,
INotifyCollectionChanged
151
internal class LimitedJournalEntryStackEnumerable : IEnumerable,
INotifyCollectionChanged
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
15
internal class DataGridColumnHeaderCollection : IEnumerable,
INotifyCollectionChanged
, IDisposable
System\Windows\Controls\MultipleCopiesCollection.cs (1)
21
INotifyCollectionChanged
,
System\Windows\Data\CollectionContainer.cs (1)
25
public class CollectionContainer : DependencyObject,
INotifyCollectionChanged
, IWeakEventListener
System\Windows\Data\CompositeCollection.cs (1)
25
public class CompositeCollection : IList,
INotifyCollectionChanged
, ICollectionViewFactory, IWeakEventListener
System\Windows\Documents\DocumentReferenceCollection.cs (1)
19
public sealed class DocumentReferenceCollection : IEnumerable<DocumentReference>,
INotifyCollectionChanged
System\Windows\Navigation\JournalEntryListConverter.cs (1)
133
internal class UnifiedJournalEntryStackEnumerable : IEnumerable,
INotifyCollectionChanged
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (1)
22
public class ObservableCollection<T> : Collection<T>,
INotifyCollectionChanged
, INotifyPropertyChanged
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
19
public class ReadOnlyObservableCollection<T> : ReadOnlyCollection<T>,
INotifyCollectionChanged
, INotifyPropertyChanged
WindowsBase.Tests (1)
System\Collections\Specialized\CollectionChangedEventManagerTests.cs (1)
540
private class CustomNotifyCollectionChanged :
INotifyCollectionChanged
122 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)
279
if (_itemsSource is
INotifyCollectionChanged
)
286
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)
162
if (oldItemsSource is
INotifyCollectionChanged
oldCollection)
165
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)
73
((
INotifyCollectionChanged
)Items).CollectionChanged += OnItemsCollectionChanged;
267
var
oldObservable = oldValue as
INotifyCollectionChanged
;
271
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)
177
(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)
532
/// CollectionChanged event (per <see cref="
INotifyCollectionChanged
" />).
534
event NotifyCollectionChangedEventHandler
INotifyCollectionChanged
.CollectionChanged
550
/// see <seealso cref="
INotifyCollectionChanged
"/>
System\Windows\Ink\StrokeCollection.cs (1)
597
event NotifyCollectionChangedEventHandler
INotifyCollectionChanged
.CollectionChanged
PresentationFramework (53)
MS\Internal\Controls\InnerItemCollectionView.cs (2)
741
((
INotifyCollectionChanged
)_sort).CollectionChanged -= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
749
((
INotifyCollectionChanged
)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
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 (3)
40
_pollForChanges = !(source is
INotifyCollectionChanged
);
55
INotifyCollectionChanged
incc = _view as
INotifyCollectionChanged
;
MS\Internal\Data\IndexedEnumerable.cs (4)
59
INotifyCollectionChanged
icc = collection as
INotifyCollectionChanged
;
334
INotifyCollectionChanged
icc = Enumerable as
INotifyCollectionChanged
;
MS\Internal\Data\ViewManager.cs (1)
739
if (!(collection is
INotifyCollectionChanged
))
MS\Internal\Navigation\JournalEntryStack.cs (2)
156
INotifyCollectionChanged
ichildnotify = ieble as
INotifyCollectionChanged
;
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\ItemContainerGenerator.cs (3)
1259
INotifyCollectionChanged
incc = _items as
INotifyCollectionChanged
;
1268
incc = _items as
INotifyCollectionChanged
;
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\CollectionContainer.cs (1)
243
event NotifyCollectionChangedEventHandler
INotifyCollectionChanged
.CollectionChanged
System\Windows\Data\CollectionView.cs (6)
95
INotifyCollectionChanged
incc = collection as
INotifyCollectionChanged
;
669
INotifyCollectionChanged
incc = _sourceCollection as
INotifyCollectionChanged
;
770
/// CollectionChanged event (per <see cref="
INotifyCollectionChanged
" />).
772
event NotifyCollectionChangedEventHandler
INotifyCollectionChanged
.CollectionChanged
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\CompositeCollection.cs (2)
389
/// <see cref="
INotifyCollectionChanged
" />
391
event NotifyCollectionChangedEventHandler
INotifyCollectionChanged
.CollectionChanged
System\Windows\Data\ListCollectionView.cs (6)
69
((
INotifyCollectionChanged
)_group).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupChanged);
70
((
INotifyCollectionChanged
)_group.GroupDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnGroupByChanged);
755
if (!(SourceList is
INotifyCollectionChanged
))
1095
bool raiseEvent = !(SourceList is
INotifyCollectionChanged
);
2893
((
INotifyCollectionChanged
)_sort).CollectionChanged -= new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
2901
((
INotifyCollectionChanged
)_sort).CollectionChanged += new NotifyCollectionChangedEventHandler(SortDescriptionsChanged);
System\Windows\Documents\DocumentReferenceCollection.cs (1)
121
/// 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
" />).
39
event 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
))]
WindowsBase.Tests (24)
System\ComponentModel\SortDescriptionCollectionTests.cs (24)
25
INotifyCollectionChanged
collection = new SortDescriptionCollection();
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;