140 references to Remove
Microsoft.Maui.Controls (34)
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
575 case NotifyCollectionChangedAction.Remove:
Compatibility\Handlers\Shell\iOS\ShellSearchResultsRenderer.cs (1)
198 case NotifyCollectionChangedAction.Remove:
Element\Element.cs (1)
859 case NotifyCollectionChangedAction.Remove:
FormattedString.cs (1)
88 base.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removed));
GestureElement.cs (2)
41 case NotifyCollectionChangedAction.Remove: 74 base.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removed));
Handlers\Items\iOS\CarouselViewController.cs (1)
318 if (e.Action == NotifyCollectionChangedAction.Remove)
Handlers\Items\iOS\ObservableGroupedSource.cs (1)
181 case NotifyCollectionChangedAction.Remove:
Handlers\Items\iOS\ObservableItemsSource.cs (2)
141 case NotifyCollectionChangedAction.Remove: 183 if (args.Action == NotifyCollectionChangedAction.Remove)
Handlers\Items2\iOS\CarouselViewController2.cs (1)
238 if (e.Action == NotifyCollectionChangedAction.Remove)
Handlers\Items2\iOS\LoopObservableItemsSource2.cs (1)
46 if (args.Action == NotifyCollectionChangedAction.Remove)
Internals\NotifyCollectionChangedEventArgsExtensions.cs (3)
63 case NotifyCollectionChangedAction.Remove: 98 case NotifyCollectionChangedAction.Remove: 99 return new NotifyCollectionChangedEventArgsEx(count, NotifyCollectionChangedAction.Remove, e.OldItems, e.OldStartingIndex);
Items\MarshalingObservableCollection.cs (1)
78 case NotifyCollectionChangedAction.Remove:
Label\Label.cs (2)
321 case NotifyCollectionChangedAction.Remove: 342 case NotifyCollectionChangedAction.Remove:
MultiPage.cs (1)
243 case NotifyCollectionChangedAction.Remove:
ObservableList.cs (2)
78 OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, items, index)); 90 OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, items));
ObservableWrapper.cs (2)
203 case NotifyCollectionChangedAction.Remove: 212 var args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removedItem, outerRemovedIndex);
Picker\Picker.cs (1)
296 case NotifyCollectionChangedAction.Remove:
Shell\ShellElementCollection.cs (1)
122 CollectionChanged?.Invoke(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, list));
TemplatedItemsList.cs (8)
819 case NotifyCollectionChangedAction.Remove: 839 OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, oldItems, e.OldStartingIndex)); 1058 case NotifyCollectionChangedAction.Remove: 1077 e = new NotifyCollectionChangedEventArgsEx(count, NotifyCollectionChangedAction.Remove, items, e.OldStartingIndex); 1176 case NotifyCollectionChangedAction.Remove: 1181 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, e.OldItems[i], e.OldStartingIndex + i)); 1351 case NotifyCollectionChangedAction.Remove: 1352 e = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, ConvertItems(e.OldItems), e.OldStartingIndex);
View\View.cs (1)
126 case NotifyCollectionChangedAction.Remove:
Microsoft.Maui.Controls.Compatibility (4)
iOS\CollectionView\CarouselViewController.cs (1)
218 if (e.Action == NotifyCollectionChangedAction.Remove)
iOS\CollectionView\ObservableGroupedSource.cs (1)
143 case NotifyCollectionChangedAction.Remove:
iOS\CollectionView\ObservableItemsSource.cs (1)
117 case NotifyCollectionChangedAction.Remove:
iOS\Renderers\ListViewRenderer.cs (1)
601 case NotifyCollectionChangedAction.Remove:
Microsoft.VisualStudio.LanguageServices (1)
ValueTracking\TreeViewItemBase.cs (1)
110if (args.Action is not NotifyCollectionChangedAction.Add and not NotifyCollectionChangedAction.Remove)
PresentationCore (4)
System\Windows\FreezableCollection.cs (3)
243OnCollectionChanged(NotifyCollectionChangedAction.Remove, index, oldValue, 0, null); 267OnCollectionChanged(NotifyCollectionChangedAction.Remove, index, oldValue, 0, null); 748case NotifyCollectionChangedAction.Remove:
System\Windows\Ink\StrokeCollection.cs (1)
648args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, e.Removed, e.Index);
PresentationFramework (82)
MS\Internal\Annotations\AnnotationResourceCollection.cs (1)
111OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, 0));
MS\Internal\Controls\InnerItemCollectionView.cs (1)
687OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index));
MS\Internal\Data\CollectionViewGroupRoot.cs (2)
165OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, globalIndex)); 753OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, leafIndex));
MS\Internal\Data\CompositeCollectionView.cs (6)
393case NotifyCollectionChangedAction.Remove: 433else if (args.Action == NotifyCollectionChangedAction.Remove) 452Debug.Assert(args.Action == NotifyCollectionChangedAction.Remove); 467Invariant.Assert(args.Action == NotifyCollectionChangedAction.Remove); 739case NotifyCollectionChangedAction.Remove: 1438case NotifyCollectionChangedAction.Remove:
MS\Internal\Data\EnumerableCollectionView.cs (1)
419case NotifyCollectionChangedAction.Remove:
System\Windows\Annotations\Annotation.cs (3)
709case NotifyCollectionChangedAction.Remove: 763case NotifyCollectionChangedAction.Remove: 812case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\DataGrid.cs (7)
232case NotifyCollectionChangedAction.Remove: 956case NotifyCollectionChangedAction.Remove: 4189else if ((action == NotifyCollectionChangedAction.Remove) && 5351if (e.Action == NotifyCollectionChangedAction.Remove || e.Action == NotifyCollectionChangedAction.Replace) 7261case NotifyCollectionChangedAction.Remove: 7403case NotifyCollectionChangedAction.Remove: 7661else if ((e.Action == NotifyCollectionChangedAction.Remove) || (e.Action == NotifyCollectionChangedAction.Replace))
System\Windows\Controls\DataGridCellsPanel.cs (1)
2046case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\DataGridColumnCollection.cs (2)
105case NotifyCollectionChangedAction.Remove: 583DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Remove, removedDisplayIndex, (DataGridColumn)oldColumns[0], -1);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
214case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\GridViewColumnCollection.cs (1)
309return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, column, index, actualIndex);
System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
45Debug.Assert(action == NotifyCollectionChangedAction.Add || action == NotifyCollectionChangedAction.Remove,
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
712case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\GridViewRowPresenter.cs (1)
378case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\ItemCollection.cs (1)
2181case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\ItemContainerGenerator.cs (3)
2091ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Remove, position, 1, 1)); 2399case NotifyCollectionChangedAction.Remove: 2563ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Remove, position, 1, containerCount));
System\Windows\Controls\ItemsControl.cs (1)
3699case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\MultipleCopiesCollection.cs (2)
63case NotifyCollectionChangedAction.Remove: 202OnCollectionChanged(NotifyCollectionChangedAction.Remove, CopiedItem, index);
System\Windows\Controls\Panel.cs (1)
692case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
148if (e.Action == NotifyCollectionChangedAction.Remove
System\Windows\Controls\Primitives\Selector.cs (2)
879case NotifyCollectionChangedAction.Remove: 1172case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
384case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\TabControl.cs (1)
380if (e.Action == NotifyCollectionChangedAction.Remove && SelectedIndex == -1)
System\Windows\Controls\TreeView.cs (1)
415case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\TreeViewItem.cs (1)
945case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
438OnCollectionChanged(NotifyCollectionChangedAction.Remove, oldItems, null); 954case NotifyCollectionChangedAction.Remove: 1127case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\VirtualizingPanel.cs (1)
513case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\VirtualizingStackPanel.cs (2)
3574case NotifyCollectionChangedAction.Remove: 3638case NotifyCollectionChangedAction.Remove:
System\Windows\Data\BindingGroup.cs (1)
1307case NotifyCollectionChangedAction.Remove:
System\Windows\Data\BindingListCollectionView.cs (7)
453NotifyCollectionChangedAction.Remove, 460NotifyCollectionChangedAction.Remove, 1515case NotifyCollectionChangedAction.Remove: 1815case NotifyCollectionChangedAction.Remove: 1957forwardedArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index + delta); 2299else if (e.Action == NotifyCollectionChangedAction.Remove) 2438case NotifyCollectionChangedAction.Remove:
System\Windows\Data\CollectionView.cs (2)
1089case NotifyCollectionChangedAction.Remove: 1956case NotifyCollectionChangedAction.Remove:
System\Windows\Data\CompositeCollection.cs (1)
239OnCollectionChanged(NotifyCollectionChangedAction.Remove, removedItem, removeIndex);
System\Windows\Data\ListCollectionView.cs (20)
566NotifyCollectionChangedAction.Remove, 573NotifyCollectionChangedAction.Remove, 868NotifyCollectionChangedAction.Remove, 960int index = AdjustBefore(NotifyCollectionChangedAction.Remove, _newItem, _newItemIndex); 965NotifyCollectionChangedAction.Remove, 1123NotifyCollectionChangedAction.Remove, 1228NotifyCollectionChangedAction.Remove, 1683if (args.Action != NotifyCollectionChangedAction.Remove && args.NewStartingIndex < 0 1729if (args.Action != NotifyCollectionChangedAction.Remove) 1738adjustedOldIndex = AdjustBefore(NotifyCollectionChangedAction.Remove, args.OldItems[0], args.OldStartingIndex); 1758case NotifyCollectionChangedAction.Remove: 1824effectiveAction = NotifyCollectionChangedAction.Remove; 1849effectiveAction = NotifyCollectionChangedAction.Remove; 1914case NotifyCollectionChangedAction.Remove: 2042args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, args.OldItems, adjustedOldIndex); 2378case NotifyCollectionChangedAction.Remove: 2505case NotifyCollectionChangedAction.Remove: 2727else if (action == NotifyCollectionChangedAction.Remove) 2992else if (e.Action == NotifyCollectionChangedAction.Remove) 3152new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove,
System\Windows\ResourceDictionary.cs (1)
1863if (e.Action == NotifyCollectionChangedAction.Remove
System.ObjectModel (3)
System\Collections\ObjectModel\ObservableCollection.cs (1)
112OnCollectionChanged(NotifyCollectionChangedAction.Remove, removedItem, index);
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (2)
72case NotifyCollectionChangedAction.Remove: 116case NotifyCollectionChangedAction.Remove:
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
45case NotifyCollectionChangedAction.Remove:
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1086if (e.Action == NotifyCollectionChangedAction.Remove || 1095e.Action == NotifyCollectionChangedAction.Remove)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2412case NotifyCollectionChangedAction.Remove:
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
540case NotifyCollectionChangedAction.Remove:
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
327case NotifyCollectionChangedAction.Remove:
WindowsBase.Tests (6)
System\ComponentModel\SortDescriptionCollectionTests.cs (6)
90Assert.Equal(NotifyCollectionChangedAction.Remove, events[0].Action); 582Assert.Equal(NotifyCollectionChangedAction.Remove, events[0].Action); 594Assert.Equal(NotifyCollectionChangedAction.Remove, events[1].Action); 668Assert.Equal(NotifyCollectionChangedAction.Remove, events[0].Action); 680Assert.Equal(NotifyCollectionChangedAction.Remove, events[1].Action); 746Assert.Equal(NotifyCollectionChangedAction.Remove, events[0].Action);