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