81 references to Replace
PresentationCore (4)
Core\CSharp\System\Windows\FreezableCollection.cs (3)
369OnCollectionChanged(NotifyCollectionChangedAction.Replace, index, oldValue, index, value); 777if (action != NotifyCollectionChangedAction.Replace && 800case NotifyCollectionChangedAction.Replace:
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
700args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, e.Added, e.Removed, e.Index);
PresentationFramework (55)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
159OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, value, originalItem, index));
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (3)
510case NotifyCollectionChangedAction.Replace: 778case NotifyCollectionChangedAction.Replace: 1478case NotifyCollectionChangedAction.Replace:
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
439case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Annotations\Annotation.cs (3)
742case NotifyCollectionChangedAction.Replace: 796case NotifyCollectionChangedAction.Replace: 845case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\DataGrid.cs (6)
240case NotifyCollectionChangedAction.Replace: 971case NotifyCollectionChangedAction.Replace: 5397if (e.Action == NotifyCollectionChangedAction.Remove || e.Action == NotifyCollectionChangedAction.Replace) 7327case NotifyCollectionChangedAction.Replace: 7460case NotifyCollectionChangedAction.Replace: 7710else if ((e.Action == NotifyCollectionChangedAction.Remove) || (e.Action == NotifyCollectionChangedAction.Replace))
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2061case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
120case NotifyCollectionChangedAction.Replace: 618DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Replace, newDisplayIndex, oldColumn, newDisplayIndex);
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (2)
55NotifyCollectionChangedAction.Replace, 227case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (1)
419return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newColumn, oldColumn, index, oldColumnActualIndex);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
722case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
389case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
2222case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
2422case NotifyCollectionChangedAction.Replace: 2637ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Replace, position, 1, 1));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3717case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (2)
74case NotifyCollectionChangedAction.Replace: 220OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, newItem, oldItem, index));
src\Framework\System\Windows\Controls\Panel.cs (1)
706case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
154|| e.Action == NotifyCollectionChangedAction.Replace)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
922case NotifyCollectionChangedAction.Replace: 1190case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
398case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\TreeView.cs (1)
429case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
979case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
965case NotifyCollectionChangedAction.Replace: 1138case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
569case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
3533case NotifyCollectionChangedAction.Replace: 3601case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1343case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Data\BindingListCollectionView.cs (3)
1552case NotifyCollectionChangedAction.Replace: 1845case NotifyCollectionChangedAction.Replace: 2471case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Data\CollectionView.cs (3)
937if (args.Action != NotifyCollectionChangedAction.Replace && 1115case NotifyCollectionChangedAction.Replace: 2007case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
337OnCollectionChanged(NotifyCollectionChangedAction.Replace, originalItem, value, itemIndex);
src\Framework\System\Windows\Data\ListCollectionView.cs (5)
1702case NotifyCollectionChangedAction.Replace: 1846effectiveAction = NotifyCollectionChangedAction.Replace; 1984case NotifyCollectionChangedAction.Replace: 2423case NotifyCollectionChangedAction.Replace: 2547case NotifyCollectionChangedAction.Replace:
src\Framework\System\Windows\ResourceDictionary.cs (2)
1853|| e.Action == NotifyCollectionChangedAction.Replace) 1871|| e.Action == NotifyCollectionChangedAction.Replace)
System (9)
compmod\system\collections\objectmodel\observablecollection.cs (1)
231OnCollectionChanged(NotifyCollectionChangedAction.Replace, originalItem, item, index);
compmod\system\collections\specialized\notifycollectionchangedeventargs.cs (8)
183if (action != NotifyCollectionChangedAction.Replace) 184throw new ArgumentException(SR.GetString(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), "action"); 198if (action != NotifyCollectionChangedAction.Replace) 199throw new ArgumentException(SR.GetString(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), "action"); 223if (action != NotifyCollectionChangedAction.Replace) 224throw new ArgumentException(SR.GetString(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), "action"); 242if (action != NotifyCollectionChangedAction.Replace) 243throw new ArgumentException(SR.GetString(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), "action");
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
612case System.Collections.Specialized.NotifyCollectionChangedAction.Replace:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
276this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, _values[i].PropertyValue)); 470case NotifyCollectionChangedAction.Replace:
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
156new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, 196else if (e.Action == NotifyCollectionChangedAction.Replace) 726new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace,
System.Data (6)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
612case System.Collections.Specialized.NotifyCollectionChangedAction.Replace:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
276this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, _values[i].PropertyValue)); 470case NotifyCollectionChangedAction.Replace:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
156new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, 196else if (e.Action == NotifyCollectionChangedAction.Replace) 726new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace,
System.Data.Services.Client (1)
System\Data\Services\Client\Binding\BindingObserver.cs (1)
317case NotifyCollectionChangedAction.Replace: