Implemented interface member:
event
CollectionChanged
System.Collections.Specialized.INotifyCollectionChanged.CollectionChanged
90 references to CollectionChanged
Microsoft.AspNetCore.Components.WebView.Maui (2)
BlazorWebViewHandler.cs (2)
90 _rootComponents.CollectionChanged -= OnRootComponentsCollectionChanged; 106 _rootComponents.CollectionChanged += OnRootComponentsCollectionChanged;
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
39 RootComponents.CollectionChanged += HandleRootComponentsCollectionChanged;
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
114 RootComponents.CollectionChanged += HandleRootComponentsCollectionChanged;
Microsoft.AspNetCore.Routing (2)
CompositeEndpointDataSource.cs (2)
30dataSources.CollectionChanged += OnDataSourcesChanged; 114observableDataSources.CollectionChanged -= OnDataSourcesChanged;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (2)
44_smartRenameViewModel.SuggestedNames.CollectionChanged += SuggestedNames_CollectionChanged; 116_smartRenameViewModel.SuggestedNames.CollectionChanged -= SuggestedNames_CollectionChanged;
Microsoft.Maui.Controls (40)
Cells\Cell.cs (1)
94 _contextActions.CollectionChanged += OnContextActionsChanged;
Element\Element.cs (1)
112 _effects.CollectionChanged += EffectsOnCollectionChanged;
FormattedString.cs (1)
20 public FormattedString() => _spans.CollectionChanged += OnCollectionChanged;
GestureElement.cs (1)
19 _gestureRecognizers.CollectionChanged += (sender, args) =>
GradientBrush.cs (2)
52 oldCollection.CollectionChanged -= OnGradientStopCollectionChanged; 64 newCollection.CollectionChanged += OnGradientStopCollectionChanged;
Handlers\Shapes\Polygon\PolygonHandler.iOS.cs (2)
12 polygon.Points.CollectionChanged += OnPointsCollectionChanged; 20 polygon.Points.CollectionChanged -= OnPointsCollectionChanged;
Handlers\Shapes\Polyline\PolylineHandler.iOS.cs (2)
12 polyline.Points.CollectionChanged += OnPointsCollectionChanged; 20 polyline.Points.CollectionChanged -= OnPointsCollectionChanged;
LegacyLayouts\Layout.cs (1)
120 InternalChildren.CollectionChanged += InternalChildrenOnCollectionChanged;
Menu\MenuFlyoutItem.cs (1)
17 collection.CollectionChanged += (sender, e) => OnPropertyChanged(nameof(KeyboardAccelerators));
Menu\MenuItemTracker.cs (4)
189 ((ObservableCollection<TMenuItem>)GetMenuItems(page)).CollectionChanged += OnCollectionChanged; 207 ((ObservableCollection<TMenuItem>)GetMenuItems(page)).CollectionChanged += OnCollectionChanged; 250 ((ObservableCollection<TMenuItem>)GetMenuItems(page)).CollectionChanged -= OnCollectionChanged; 270 ((ObservableCollection<TMenuItem>)GetMenuItems(page)).CollectionChanged -= OnCollectionChanged;
MultiPage.cs (1)
40 InternalChildren.CollectionChanged += OnChildrenChanged;
ObservableWrapper.cs (1)
21 list.CollectionChanged += ListOnCollectionChanged;
Page\Page.cs (3)
88 toolbarItems.CollectionChanged += OnToolbarItemsCollectionChanged; 92 menuBarItems.CollectionChanged += OnToolbarItemsCollectionChanged; 99 InternalChildren.CollectionChanged += InternalChildrenOnCollectionChanged;
Platform\GestureManager\GesturePlatformManager.iOS.cs (3)
73 ElementGestureRecognizers.CollectionChanged -= _collectionChangedHandler; 810 oldRecognizers.CollectionChanged -= _collectionChangedHandler; 819 ElementGestureRecognizers.CollectionChanged += _collectionChangedHandler;
ResourceDictionary.cs (1)
88 col.CollectionChanged += MergedDictionaries_CollectionChanged;
Shapes\GeometryGroup.cs (2)
52 oldCollection.CollectionChanged -= OnChildrenCollectionChanged; 63 newCollection.CollectionChanged += OnChildrenCollectionChanged;
Shapes\PathFigure.cs (2)
87 oldCollection.CollectionChanged -= OnPathSegmentCollectionChanged; 98 newCollection.CollectionChanged += OnPathSegmentCollectionChanged;
Shapes\PathGeometry.cs (2)
188 oldCollection.CollectionChanged -= OnPathFigureCollectionChanged; 200 newCollection.CollectionChanged += OnPathFigureCollectionChanged;
Shapes\TransformGroup.cs (2)
33 (oldValue as TransformCollection).CollectionChanged -= (bindable as TransformGroup).OnChildrenCollectionChanged; 38 (newValue as TransformCollection).CollectionChanged += (bindable as TransformGroup).OnChildrenCollectionChanged;
Shell\BaseShellItem.cs (1)
65 DeclaredChildren.CollectionChanged += (_, args) =>
SwipeView\SwipeItems.cs (1)
28 _swipeItems.CollectionChanged += OnSwipeItemsChanged;
TableView\TableSection.cs (4)
22 _children.CollectionChanged += OnChildrenChanged; 30 _children.CollectionChanged += OnChildrenChanged; 129 add { _children.CollectionChanged += value; } 130 remove { _children.CollectionChanged -= value; }
View\View.cs (1)
97 _gestureRecognizers.CollectionChanged += (sender, args) =>
Microsoft.Maui.Controls.Compatibility (10)
iOS\EventTracker.cs (3)
69 ElementGestureRecognizers.CollectionChanged -= _collectionChangedHandler; 700 oldRecognizers.CollectionChanged -= _collectionChangedHandler; 709 ElementGestureRecognizers.CollectionChanged += _collectionChangedHandler;
iOS\Shapes\PolygonRenderer.cs (4)
36 points.CollectionChanged += OnCollectionChanged; 61 _points.CollectionChanged -= OnCollectionChanged; 70 _points.CollectionChanged -= OnCollectionChanged; 74 _points.CollectionChanged += OnCollectionChanged;
iOS\Shapes\PolylineRenderer.cs (3)
58 _points.CollectionChanged -= OnCollectionChanged; 67 _points.CollectionChanged -= OnCollectionChanged; 71 _points.CollectionChanged += OnCollectionChanged;
Microsoft.Maui.Controls.Maps (4)
Map.cs (2)
61 _pins.CollectionChanged += PinsOnCollectionChanged; 62 _mapElements.CollectionChanged += MapElementsCollectionChanged;
Polygon.cs (1)
40 observable.CollectionChanged += (sender, args) => OnPropertyChanged(nameof(Geopath));
Polyline.cs (1)
23 observable.CollectionChanged += (sender, args) => OnPropertyChanged(nameof(Geopath));
Microsoft.VisualStudio.LanguageServices (3)
StackTraceExplorer\StackTraceExplorerViewModel.cs (1)
61Frames.CollectionChanged += CallstackLines_CollectionChanged;
ValueTracking\TreeViewItemBase.cs (1)
43ChildItems.CollectionChanged += ChildItems_CollectionChanged;
ValueTracking\ValueTrackedTreeItemViewModel.cs (1)
84ChildItems.CollectionChanged += (s, a) =>
PresentationFramework (22)
System\Windows\Annotations\Annotation.cs (3)
893_cargos.CollectionChanged += OnCargosChanged; 896_anchors.CollectionChanged += OnAnchorsChanged; 898_authors.CollectionChanged += OnAuthorsChanged;
System\Windows\Annotations\AnnotationResource.cs (2)
371_locators.CollectionChanged += OnLocatorsChanged; 388_contents.CollectionChanged += OnContentsChanged;
System\Windows\Annotations\LocatorGroup.cs (1)
47_locators.CollectionChanged += OnCollectionChanged;
System\Windows\Annotations\LocatorPartList.cs (1)
38_parts.CollectionChanged += OnCollectionChanged;
System\Windows\Controls\DataGrid.cs (3)
83_columns.CollectionChanged += new NotifyCollectionChangedEventHandler(OnColumnsChanged); 86_rowValidationRules.CollectionChanged += new NotifyCollectionChangedEventHandler(OnRowValidationRulesChanged); 93Items.GroupDescriptions.CollectionChanged += new NotifyCollectionChangedEventHandler(OnItemsGroupDescriptionsChanged);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (4)
24_columns.CollectionChanged += OnColumnsChanged; 67_columns.CollectionChanged -= OnColumnsChanged; 87_columns.CollectionChanged += OnColumnsChanged; 150_columns.CollectionChanged -= OnColumnsChanged;
System\Windows\Controls\Primitives\Selector.cs (1)
50selectedItems.CollectionChanged += new NotifyCollectionChangedEventHandler(OnSelectedItemsCollectionChanged);
System\Windows\Data\BindingListCollectionView.cs (1)
1223_liveGroupingProperties.CollectionChanged += new NotifyCollectionChangedEventHandler(OnLivePropertyListChanged);
System\Windows\Data\ListCollectionView.cs (3)
1476_liveSortingProperties.CollectionChanged += new NotifyCollectionChangedEventHandler(OnLivePropertyListChanged); 1498_liveFilteringProperties.CollectionChanged += new NotifyCollectionChangedEventHandler(OnLivePropertyListChanged); 1520_liveGroupingProperties.CollectionChanged += new NotifyCollectionChangedEventHandler(OnLivePropertyListChanged);
System\Windows\PropertyPath.cs (2)
486_parameters.CollectionChanged -= new NotifyCollectionChangedEventHandler(ParameterCollectionChanged); 491_parameters.CollectionChanged += new NotifyCollectionChangedEventHandler(ParameterCollectionChanged);
System\Windows\ResourceDictionary.cs (1)
116_mergedDictionaries.CollectionChanged += OnMergedDictionariesChanged;
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (2)
185NotifyCollectionChangedEventHandler? handler = CollectionChanged; 231NotifyCollectionChangedEventHandler? handler = CollectionChanged;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
433_tabGroupHeaders.CollectionChanged += new NotifyCollectionChangedEventHandler(this.OnContextualTabGroupsCollectionChanged);