128 references to Remove
Microsoft.Maui.Controls (26)
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));
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)
322 case NotifyCollectionChangedAction.Remove: 343 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)
297 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.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)
242OnCollectionChanged(NotifyCollectionChangedAction.Remove, index, oldValue, 0, null); 266OnCollectionChanged(NotifyCollectionChangedAction.Remove, index, oldValue, 0, null); 747case NotifyCollectionChangedAction.Remove:
System\Windows\Ink\StrokeCollection.cs (1)
647args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, e.Removed, e.Index);
PresentationFramework (82)
MS\Internal\Annotations\AnnotationResourceCollection.cs (1)
110OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, 0));
MS\Internal\Controls\InnerItemCollectionView.cs (1)
686OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index));
MS\Internal\Data\CollectionViewGroupRoot.cs (2)
164OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, globalIndex)); 752OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, leafIndex));
MS\Internal\Data\CompositeCollectionView.cs (6)
392case NotifyCollectionChangedAction.Remove: 432else if (args.Action == NotifyCollectionChangedAction.Remove) 451Debug.Assert(args.Action == NotifyCollectionChangedAction.Remove); 466Invariant.Assert(args.Action == NotifyCollectionChangedAction.Remove); 738case NotifyCollectionChangedAction.Remove: 1437case NotifyCollectionChangedAction.Remove:
MS\Internal\Data\EnumerableCollectionView.cs (1)
418case NotifyCollectionChangedAction.Remove:
System\Windows\Annotations\Annotation.cs (3)
708case NotifyCollectionChangedAction.Remove: 762case NotifyCollectionChangedAction.Remove: 811case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\DataGrid.cs (7)
231case NotifyCollectionChangedAction.Remove: 955case NotifyCollectionChangedAction.Remove: 4182else if ((action == NotifyCollectionChangedAction.Remove) && 5344if (e.Action == NotifyCollectionChangedAction.Remove || e.Action == NotifyCollectionChangedAction.Replace) 7254case NotifyCollectionChangedAction.Remove: 7396case NotifyCollectionChangedAction.Remove: 7654else if ((e.Action == NotifyCollectionChangedAction.Remove) || (e.Action == NotifyCollectionChangedAction.Replace))
System\Windows\Controls\DataGridCellsPanel.cs (1)
2039case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\DataGridColumnCollection.cs (2)
104case NotifyCollectionChangedAction.Remove: 582DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Remove, removedDisplayIndex, (DataGridColumn)oldColumns[0], -1);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
213case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\GridViewColumnCollection.cs (1)
308return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, column, index, actualIndex);
System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
44Debug.Assert(action == NotifyCollectionChangedAction.Add || action == NotifyCollectionChangedAction.Remove,
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
711case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\GridViewRowPresenter.cs (1)
377case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\ItemCollection.cs (1)
2179case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\ItemContainerGenerator.cs (3)
2090ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Remove, position, 1, 1)); 2396case NotifyCollectionChangedAction.Remove: 2560ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Remove, position, 1, containerCount));
System\Windows\Controls\ItemsControl.cs (1)
3698case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\MultipleCopiesCollection.cs (2)
62case NotifyCollectionChangedAction.Remove: 201OnCollectionChanged(NotifyCollectionChangedAction.Remove, CopiedItem, index);
System\Windows\Controls\Panel.cs (1)
691case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
147if (e.Action == NotifyCollectionChangedAction.Remove
System\Windows\Controls\Primitives\Selector.cs (2)
878case NotifyCollectionChangedAction.Remove: 1171case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
383case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\TabControl.cs (1)
379if (e.Action == NotifyCollectionChangedAction.Remove && SelectedIndex == -1)
System\Windows\Controls\TreeView.cs (1)
414case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\TreeViewItem.cs (1)
944case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
437OnCollectionChanged(NotifyCollectionChangedAction.Remove, oldItems, null); 953case NotifyCollectionChangedAction.Remove: 1126case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\VirtualizingPanel.cs (1)
512case NotifyCollectionChangedAction.Remove:
System\Windows\Controls\VirtualizingStackPanel.cs (2)
3573case NotifyCollectionChangedAction.Remove: 3637case NotifyCollectionChangedAction.Remove:
System\Windows\Data\BindingGroup.cs (1)
1306case NotifyCollectionChangedAction.Remove:
System\Windows\Data\BindingListCollectionView.cs (7)
452NotifyCollectionChangedAction.Remove, 459NotifyCollectionChangedAction.Remove, 1514case NotifyCollectionChangedAction.Remove: 1814case NotifyCollectionChangedAction.Remove: 1956forwardedArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index + delta); 2298else if (e.Action == NotifyCollectionChangedAction.Remove) 2437case NotifyCollectionChangedAction.Remove:
System\Windows\Data\CollectionView.cs (2)
1088case NotifyCollectionChangedAction.Remove: 1955case NotifyCollectionChangedAction.Remove:
System\Windows\Data\CompositeCollection.cs (1)
238OnCollectionChanged(NotifyCollectionChangedAction.Remove, removedItem, removeIndex);
System\Windows\Data\ListCollectionView.cs (20)
565NotifyCollectionChangedAction.Remove, 572NotifyCollectionChangedAction.Remove, 867NotifyCollectionChangedAction.Remove, 959int index = AdjustBefore(NotifyCollectionChangedAction.Remove, _newItem, _newItemIndex); 964NotifyCollectionChangedAction.Remove, 1122NotifyCollectionChangedAction.Remove, 1227NotifyCollectionChangedAction.Remove, 1682if (args.Action != NotifyCollectionChangedAction.Remove && args.NewStartingIndex < 0 1728if (args.Action != NotifyCollectionChangedAction.Remove) 1737adjustedOldIndex = AdjustBefore(NotifyCollectionChangedAction.Remove, args.OldItems[0], args.OldStartingIndex); 1757case NotifyCollectionChangedAction.Remove: 1823effectiveAction = NotifyCollectionChangedAction.Remove; 1848effectiveAction = NotifyCollectionChangedAction.Remove; 1913case NotifyCollectionChangedAction.Remove: 2041args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, args.OldItems, adjustedOldIndex); 2377case NotifyCollectionChangedAction.Remove: 2504case NotifyCollectionChangedAction.Remove: 2726else if (action == NotifyCollectionChangedAction.Remove) 2991else if (e.Action == NotifyCollectionChangedAction.Remove) 3151new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove,
System\Windows\ResourceDictionary.cs (1)
1902if (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)
44case NotifyCollectionChangedAction.Remove:
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1082if (e.Action == NotifyCollectionChangedAction.Remove || 1091e.Action == NotifyCollectionChangedAction.Remove)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2405case NotifyCollectionChangedAction.Remove:
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
539case NotifyCollectionChangedAction.Remove:
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
326case 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);