91 references to Replace
Microsoft.Maui.Controls (23)
BindableLayout\BindableLayout.cs (1)
509 if (e.Action == NotifyCollectionChangedAction.Replace)
Element\Element.cs (1)
865 case NotifyCollectionChangedAction.Replace:
GestureElement.cs (1)
44 case NotifyCollectionChangedAction.Replace:
Internals\NotifyCollectionChangedEventArgsExtensions.cs (3)
71 case NotifyCollectionChangedAction.Replace: 104 case NotifyCollectionChangedAction.Replace: 105 return new NotifyCollectionChangedEventArgsEx(count, NotifyCollectionChangedAction.Replace, e.NewItems, e.OldItems, e.OldStartingIndex);
Items\MarshalingObservableCollection.cs (1)
81 case NotifyCollectionChangedAction.Replace:
Label\Label.cs (2)
325 case NotifyCollectionChangedAction.Replace: 346 case NotifyCollectionChangedAction.Replace:
MultiPage.cs (1)
300 case NotifyCollectionChangedAction.Replace:
ObservableList.cs (1)
110 OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, ritems, oldItems, startIndex));
ObservableWrapper.cs (2)
215 case NotifyCollectionChangedAction.Replace: 233 var replaceArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newReplaceItem, oldReplaceItem, index);
TemplatedItemsList.cs (9)
843 case NotifyCollectionChangedAction.Replace: 865 OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newItems, oldItems, e.OldStartingIndex)); 1085 case NotifyCollectionChangedAction.Replace: 1096 e = new NotifyCollectionChangedEventArgsEx(count, NotifyCollectionChangedAction.Replace, newItems, oldItems, e.NewStartingIndex); 1185 case NotifyCollectionChangedAction.Replace: 1190 OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, e.NewItems[i], e.OldItems[i], e.OldStartingIndex + i)); 1320 OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, list.ShortName, old, index)); 1355 case NotifyCollectionChangedAction.Replace: 1356 e = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, ConvertItems(e.NewItems), ConvertItems(e.OldItems), e.OldStartingIndex);
View\View.cs (1)
129 case NotifyCollectionChangedAction.Replace:
PresentationCore (4)
System\Windows\FreezableCollection.cs (3)
332OnCollectionChanged(NotifyCollectionChangedAction.Replace, index, oldValue, index, value); 727if (action != NotifyCollectionChangedAction.Replace && 750case NotifyCollectionChangedAction.Replace:
System\Windows\Ink\StrokeCollection.cs (1)
657args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, e.Added, e.Removed, e.Index);
PresentationFramework (55)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
155OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, value, originalItem, index));
MS\Internal\Data\CompositeCollectionView.cs (3)
485case NotifyCollectionChangedAction.Replace: 750case NotifyCollectionChangedAction.Replace: 1442case NotifyCollectionChangedAction.Replace:
MS\Internal\Data\EnumerableCollectionView.cs (1)
431case NotifyCollectionChangedAction.Replace:
System\Windows\Annotations\Annotation.cs (3)
713case NotifyCollectionChangedAction.Replace: 767case NotifyCollectionChangedAction.Replace: 816case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\DataGrid.cs (6)
235case NotifyCollectionChangedAction.Replace: 963case NotifyCollectionChangedAction.Replace: 5344if (e.Action == NotifyCollectionChangedAction.Remove || e.Action == NotifyCollectionChangedAction.Replace) 7274case NotifyCollectionChangedAction.Replace: 7407case NotifyCollectionChangedAction.Replace: 7654else if ((e.Action == NotifyCollectionChangedAction.Remove) || (e.Action == NotifyCollectionChangedAction.Replace))
System\Windows\Controls\DataGridCellsPanel.cs (1)
2043case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\DataGridColumnCollection.cs (2)
114case NotifyCollectionChangedAction.Replace: 611DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Replace, newDisplayIndex, oldColumn, newDisplayIndex);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (2)
49NotifyCollectionChangedAction.Replace, 221case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\GridViewColumnCollection.cs (1)
412return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newColumn, oldColumn, index, oldColumnActualIndex);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
716case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\GridViewRowPresenter.cs (1)
381case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\ItemCollection.cs (1)
2189case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\ItemContainerGenerator.cs (2)
2402case NotifyCollectionChangedAction.Replace: 2619ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Replace, position, 1, 1));
System\Windows\Controls\ItemsControl.cs (1)
3745case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\MultipleCopiesCollection.cs (2)
69case NotifyCollectionChangedAction.Replace: 215OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newItem, oldItem, index));
System\Windows\Controls\Panel.cs (1)
694case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
148|| e.Action == NotifyCollectionChangedAction.Replace)
System\Windows\Controls\Primitives\Selector.cs (2)
900case NotifyCollectionChangedAction.Replace: 1159case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
386case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\TreeView.cs (1)
422case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\TreeViewItem.cs (1)
957case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
957case NotifyCollectionChangedAction.Replace: 1130case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\VirtualizingPanel.cs (1)
513case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\VirtualizingStackPanel.cs (2)
3578case NotifyCollectionChangedAction.Replace: 3646case NotifyCollectionChangedAction.Replace:
System\Windows\Data\BindingGroup.cs (1)
1312case NotifyCollectionChangedAction.Replace:
System\Windows\Data\BindingListCollectionView.cs (3)
1524case NotifyCollectionChangedAction.Replace: 1817case NotifyCollectionChangedAction.Replace: 2442case NotifyCollectionChangedAction.Replace:
System\Windows\Data\CollectionView.cs (3)
919if (args.Action != NotifyCollectionChangedAction.Replace && 1096case NotifyCollectionChangedAction.Replace: 1962case NotifyCollectionChangedAction.Replace:
System\Windows\Data\CompositeCollection.cs (1)
320OnCollectionChanged(NotifyCollectionChangedAction.Replace, originalItem, value, itemIndex);
System\Windows\Data\ListCollectionView.cs (5)
1668case NotifyCollectionChangedAction.Replace: 1812effectiveAction = NotifyCollectionChangedAction.Replace; 1950case NotifyCollectionChangedAction.Replace: 2387case NotifyCollectionChangedAction.Replace: 2509case NotifyCollectionChangedAction.Replace:
System\Windows\ResourceDictionary.cs (2)
1903|| e.Action == NotifyCollectionChangedAction.Replace) 1921|| e.Action == NotifyCollectionChangedAction.Replace)
System.ObjectModel (5)
System\Collections\ObjectModel\ObservableCollection.cs (1)
140OnCollectionChanged(NotifyCollectionChangedAction.Replace, originalItem, item, index);
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (4)
159if (action != NotifyCollectionChangedAction.Replace) 161throw new ArgumentException(SR.Format(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), nameof(action)); 190if (action != NotifyCollectionChangedAction.Replace) 192throw new ArgumentException(SR.Format(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), nameof(action));
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
62case NotifyCollectionChangedAction.Replace:
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1083e.Action == NotifyCollectionChangedAction.Replace ||
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2407case NotifyCollectionChangedAction.Replace:
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
540case NotifyCollectionChangedAction.Replace: