136 references to Remove
PresentationCore (4)
Core\CSharp\System\Windows\FreezableCollection.cs (3)
278OnCollectionChanged(NotifyCollectionChangedAction.Remove, index, oldValue, 0, null); 302OnCollectionChanged(NotifyCollectionChangedAction.Remove, index, oldValue, 0, null); 797case NotifyCollectionChangedAction.Remove:
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
690args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, e.Removed, e.Index);
PresentationFramework (82)
src\Framework\MS\Internal\Annotations\AnnotationResourceCollection.cs (1)
121OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, 0));
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
691OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index));
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (2)
173OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, globalIndex)); 764OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, leafIndex));
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (6)
415case NotifyCollectionChangedAction.Remove: 457else if (args.Action == NotifyCollectionChangedAction.Remove) 476Debug.Assert(args.Action == NotifyCollectionChangedAction.Remove); 491Invariant.Assert(args.Action == NotifyCollectionChangedAction.Remove); 766case NotifyCollectionChangedAction.Remove: 1473case NotifyCollectionChangedAction.Remove:
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
426case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Annotations\Annotation.cs (3)
737case NotifyCollectionChangedAction.Remove: 791case NotifyCollectionChangedAction.Remove: 840case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\DataGrid.cs (7)
236case NotifyCollectionChangedAction.Remove: 963case NotifyCollectionChangedAction.Remove: 4223else if ((action == NotifyCollectionChangedAction.Remove) && 5397if (e.Action == NotifyCollectionChangedAction.Remove || e.Action == NotifyCollectionChangedAction.Replace) 7307case NotifyCollectionChangedAction.Remove: 7449case NotifyCollectionChangedAction.Remove: 7710else if ((e.Action == NotifyCollectionChangedAction.Remove) || (e.Action == NotifyCollectionChangedAction.Replace))
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2057case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
110case NotifyCollectionChangedAction.Remove: 589DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Remove, removedDisplayIndex, (DataGridColumn)oldColumns[0], -1);
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
219case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (1)
313return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, column, index, actualIndex);
src\Framework\System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
50Debug.Assert(action == NotifyCollectionChangedAction.Add || action == NotifyCollectionChangedAction.Remove,
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
717case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
385case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
2212case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (3)
2108ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Remove, position, 1, 1)); 2416case NotifyCollectionChangedAction.Remove: 2578ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Remove, position, 1, containerCount));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3670case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (2)
67case NotifyCollectionChangedAction.Remove: 206OnCollectionChanged(NotifyCollectionChangedAction.Remove, CopiedItem, index);
src\Framework\System\Windows\Controls\Panel.cs (1)
703case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
153if (e.Action == NotifyCollectionChangedAction.Remove
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
900case NotifyCollectionChangedAction.Remove: 1202case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
395case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\TabControl.cs (1)
399if (e.Action == NotifyCollectionChangedAction.Remove && SelectedIndex == -1)
src\Framework\System\Windows\Controls\TreeView.cs (1)
421case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
966case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
445OnCollectionChanged(NotifyCollectionChangedAction.Remove, oldItems, null); 961case NotifyCollectionChangedAction.Remove: 1134case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
568case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
3528case NotifyCollectionChangedAction.Remove: 3592case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1337case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Data\BindingListCollectionView.cs (7)
465NotifyCollectionChangedAction.Remove, 472NotifyCollectionChangedAction.Remove, 1542case NotifyCollectionChangedAction.Remove: 1842case NotifyCollectionChangedAction.Remove: 1984forwardedArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, item, index + delta); 2326else if (e.Action == NotifyCollectionChangedAction.Remove) 2466case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Data\CollectionView.cs (2)
1107case NotifyCollectionChangedAction.Remove: 2000case NotifyCollectionChangedAction.Remove:
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
255OnCollectionChanged(NotifyCollectionChangedAction.Remove, removedItem, removeIndex);
src\Framework\System\Windows\Data\ListCollectionView.cs (20)
580NotifyCollectionChangedAction.Remove, 587NotifyCollectionChangedAction.Remove, 888NotifyCollectionChangedAction.Remove, 980int index = AdjustBefore(NotifyCollectionChangedAction.Remove, _newItem, _newItemIndex); 985NotifyCollectionChangedAction.Remove, 1146NotifyCollectionChangedAction.Remove, 1257NotifyCollectionChangedAction.Remove, 1716if (args.Action != NotifyCollectionChangedAction.Remove && args.NewStartingIndex < 0 1762if (args.Action != NotifyCollectionChangedAction.Remove) 1771adjustedOldIndex = AdjustBefore(NotifyCollectionChangedAction.Remove, args.OldItems[0], args.OldStartingIndex); 1791case NotifyCollectionChangedAction.Remove: 1857effectiveAction = NotifyCollectionChangedAction.Remove; 1882effectiveAction = NotifyCollectionChangedAction.Remove; 1947case NotifyCollectionChangedAction.Remove: 2075args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, args.OldItems, adjustedOldIndex); 2413case NotifyCollectionChangedAction.Remove: 2542case NotifyCollectionChangedAction.Remove: 2764else if (action == NotifyCollectionChangedAction.Remove) 3029else if (e.Action == NotifyCollectionChangedAction.Remove) 3189new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove,
src\Framework\System\Windows\ResourceDictionary.cs (1)
1852if (e.Action == NotifyCollectionChangedAction.Remove
System (6)
compmod\system\collections\objectmodel\observablecollection.cs (1)
203OnCollectionChanged(NotifyCollectionChangedAction.Remove, removedItem, index);
compmod\system\collections\specialized\notifycollectionchangedeventargs.cs (5)
72if ((action != NotifyCollectionChangedAction.Add) && (action != NotifyCollectionChangedAction.Remove) 97if ((action != NotifyCollectionChangedAction.Add) && (action != NotifyCollectionChangedAction.Remove) 123if ((action != NotifyCollectionChangedAction.Add) && (action != NotifyCollectionChangedAction.Remove) 151if ((action != NotifyCollectionChangedAction.Add) && (action != NotifyCollectionChangedAction.Remove) 312else if (action == NotifyCollectionChangedAction.Remove)
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
27if (e.Action == NotifyCollectionChangedAction.Remove) 76if (e.Action == NotifyCollectionChangedAction.Remove)
System\ServiceModel\Activities\Presentation\CorrelationInitializerDesigner.xaml.cs (1)
97case NotifyCollectionChangedAction.Remove:
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
164case NotifyCollectionChangedAction.Remove:
System.Activities.Presentation (18)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (3)
424case System.Collections.Specialized.NotifyCollectionChangedAction.Remove: 450case System.Collections.Specialized.NotifyCollectionChangedAction.Remove: 608case System.Collections.Specialized.NotifyCollectionChangedAction.Remove:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
242this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removedValue, index)); 454case NotifyCollectionChangedAction.Remove:
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
609this.CollectionChanged(this, new System.Collections.Specialized.NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction.Remove, item, index)); 634this.CollectionChanged(this, new System.Collections.Specialized.NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction.Remove, item, index));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
185else if (e.Action == NotifyCollectionChangedAction.Remove) 843new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removed)); 950new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, new KeyValuePair<ModelItem, ModelItem>(key, value)));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
374case NotifyCollectionChangedAction.Remove: 392case NotifyCollectionChangedAction.Remove:
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
301else if (e.Action == NotifyCollectionChangedAction.Remove)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeViewItem.cs (1)
32if (e.Action == Collections.Specialized.NotifyCollectionChangedAction.Remove)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
590if (e.Action == Collections.Specialized.NotifyCollectionChangedAction.Remove)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
448case NotifyCollectionChangedAction.Remove: 470case NotifyCollectionChangedAction.Remove:
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
267else if (e.Action == NotifyCollectionChangedAction.Remove)
System.Data (18)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (3)
424case System.Collections.Specialized.NotifyCollectionChangedAction.Remove: 450case System.Collections.Specialized.NotifyCollectionChangedAction.Remove: 608case System.Collections.Specialized.NotifyCollectionChangedAction.Remove:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
242this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removedValue, index)); 454case NotifyCollectionChangedAction.Remove:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
609this.CollectionChanged(this, new System.Collections.Specialized.NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction.Remove, item, index)); 634this.CollectionChanged(this, new System.Collections.Specialized.NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction.Remove, item, index));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
185else if (e.Action == NotifyCollectionChangedAction.Remove) 843new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, removed)); 950new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, new KeyValuePair<ModelItem, ModelItem>(key, value)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
374case NotifyCollectionChangedAction.Remove: 392case NotifyCollectionChangedAction.Remove:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
301else if (e.Action == NotifyCollectionChangedAction.Remove)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeViewItem.cs (1)
32if (e.Action == Collections.Specialized.NotifyCollectionChangedAction.Remove)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
590if (e.Action == Collections.Specialized.NotifyCollectionChangedAction.Remove)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
448case NotifyCollectionChangedAction.Remove: 470case NotifyCollectionChangedAction.Remove:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
267else if (e.Action == NotifyCollectionChangedAction.Remove)
System.Data.Services.Client (2)
System\Data\Services\Client\Binding\BindingObserver.cs (2)
308case NotifyCollectionChangedAction.Remove: 550NotifyCollectionChangedAction.Remove);
WindowsBase (2)
Base\System\ComponentModel\SortDescriptionCollection.cs (2)
91OnCollectionChanged(NotifyCollectionChangedAction.Remove, removedItem, index); 114OnCollectionChanged(NotifyCollectionChangedAction.Remove, originalItem, index);