98 references to Replace
Microsoft.Maui.Controls (27)
BindableLayout\BindableLayout.cs (1)
499 if (e.Action == NotifyCollectionChangedAction.Replace)
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
597 case NotifyCollectionChangedAction.Replace:
Compatibility\Handlers\Shell\iOS\ShellSearchResultsRenderer.cs (1)
227 case NotifyCollectionChangedAction.Replace:
Element\Element.cs (1)
865 case NotifyCollectionChangedAction.Replace:
GestureElement.cs (1)
44 case NotifyCollectionChangedAction.Replace:
Handlers\Items\iOS\ObservableGroupedSource.cs (1)
184 case NotifyCollectionChangedAction.Replace:
Handlers\Items\iOS\ObservableItemsSource.cs (1)
144 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)
324 case NotifyCollectionChangedAction.Replace: 345 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:
Microsoft.Maui.Controls.Compatibility (3)
iOS\CollectionView\ObservableGroupedSource.cs (1)
146 case NotifyCollectionChangedAction.Replace:
iOS\CollectionView\ObservableItemsSource.cs (1)
120 case NotifyCollectionChangedAction.Replace:
iOS\Renderers\ListViewRenderer.cs (1)
623 case NotifyCollectionChangedAction.Replace:
PresentationCore (4)
System\Windows\FreezableCollection.cs (3)
333OnCollectionChanged(NotifyCollectionChangedAction.Replace, index, oldValue, index, value); 728if (action != NotifyCollectionChangedAction.Replace && 751case NotifyCollectionChangedAction.Replace:
System\Windows\Ink\StrokeCollection.cs (1)
658args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, e.Added, e.Removed, e.Index);
PresentationFramework (55)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
156OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, value, originalItem, index));
MS\Internal\Data\CompositeCollectionView.cs (3)
486case NotifyCollectionChangedAction.Replace: 751case NotifyCollectionChangedAction.Replace: 1443case NotifyCollectionChangedAction.Replace:
MS\Internal\Data\EnumerableCollectionView.cs (1)
432case NotifyCollectionChangedAction.Replace:
System\Windows\Annotations\Annotation.cs (3)
714case NotifyCollectionChangedAction.Replace: 768case NotifyCollectionChangedAction.Replace: 817case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\DataGrid.cs (6)
236case NotifyCollectionChangedAction.Replace: 964case NotifyCollectionChangedAction.Replace: 5351if (e.Action == NotifyCollectionChangedAction.Remove || e.Action == NotifyCollectionChangedAction.Replace) 7281case NotifyCollectionChangedAction.Replace: 7414case NotifyCollectionChangedAction.Replace: 7661else if ((e.Action == NotifyCollectionChangedAction.Remove) || (e.Action == NotifyCollectionChangedAction.Replace))
System\Windows\Controls\DataGridCellsPanel.cs (1)
2050case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\DataGridColumnCollection.cs (2)
115case NotifyCollectionChangedAction.Replace: 612DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Replace, newDisplayIndex, oldColumn, newDisplayIndex);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (2)
50NotifyCollectionChangedAction.Replace, 222case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\GridViewColumnCollection.cs (1)
413return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newColumn, oldColumn, index, oldColumnActualIndex);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
717case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\GridViewRowPresenter.cs (1)
382case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\ItemCollection.cs (1)
2191case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\ItemContainerGenerator.cs (2)
2405case NotifyCollectionChangedAction.Replace: 2622ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Replace, position, 1, 1));
System\Windows\Controls\ItemsControl.cs (1)
3746case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\MultipleCopiesCollection.cs (2)
70case NotifyCollectionChangedAction.Replace: 216OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newItem, oldItem, index));
System\Windows\Controls\Panel.cs (1)
695case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
149|| e.Action == NotifyCollectionChangedAction.Replace)
System\Windows\Controls\Primitives\Selector.cs (2)
901case NotifyCollectionChangedAction.Replace: 1160case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
387case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\TreeView.cs (1)
423case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\TreeViewItem.cs (1)
958case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
958case NotifyCollectionChangedAction.Replace: 1131case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\VirtualizingPanel.cs (1)
514case NotifyCollectionChangedAction.Replace:
System\Windows\Controls\VirtualizingStackPanel.cs (2)
3579case NotifyCollectionChangedAction.Replace: 3647case NotifyCollectionChangedAction.Replace:
System\Windows\Data\BindingGroup.cs (1)
1313case NotifyCollectionChangedAction.Replace:
System\Windows\Data\BindingListCollectionView.cs (3)
1525case NotifyCollectionChangedAction.Replace: 1818case NotifyCollectionChangedAction.Replace: 2443case NotifyCollectionChangedAction.Replace:
System\Windows\Data\CollectionView.cs (3)
920if (args.Action != NotifyCollectionChangedAction.Replace && 1097case NotifyCollectionChangedAction.Replace: 1963case NotifyCollectionChangedAction.Replace:
System\Windows\Data\CompositeCollection.cs (1)
321OnCollectionChanged(NotifyCollectionChangedAction.Replace, originalItem, value, itemIndex);
System\Windows\Data\ListCollectionView.cs (5)
1669case NotifyCollectionChangedAction.Replace: 1813effectiveAction = NotifyCollectionChangedAction.Replace; 1951case NotifyCollectionChangedAction.Replace: 2388case NotifyCollectionChangedAction.Replace: 2510case NotifyCollectionChangedAction.Replace:
System\Windows\ResourceDictionary.cs (2)
1864|| e.Action == NotifyCollectionChangedAction.Replace) 1882|| 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)
63case NotifyCollectionChangedAction.Replace:
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1087e.Action == NotifyCollectionChangedAction.Replace ||
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2414case NotifyCollectionChangedAction.Replace:
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
541case NotifyCollectionChangedAction.Replace: