118 references to Reset
PresentationCore (3)
Core\CSharp\System\Windows\FreezableCollection.cs (2)
199OnCollectionChanged(NotifyCollectionChangedAction.Reset, 0, null, 0, null); 791case NotifyCollectionChangedAction.Reset:
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
685args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);
PresentationFramework (81)
src\Framework\MS\Internal\Annotations\AnnotationObservableCollection.cs (2)
171OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 199OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (1)
249OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
564OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (7)
377OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 505args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset); 552args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset); 630args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset); 636case NotifyCollectionChangedAction.Reset: 803case NotifyCollectionChangedAction.Reset: 1490case NotifyCollectionChangedAction.Reset:
src\Framework\MS\Internal\Data\DifferencingCollection.cs (1)
242OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (2)
484case NotifyCollectionChangedAction.Reset: 519OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\MS\Internal\Navigation\JournalEntryStack.cs (1)
31CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\System\Windows\Annotations\Annotation.cs (3)
757case NotifyCollectionChangedAction.Reset: 811case NotifyCollectionChangedAction.Reset: 860case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\DataGrid.cs (8)
246case NotifyCollectionChangedAction.Reset: 261visibleColumnsChanged |= (e.Action == NotifyCollectionChangedAction.Reset); 984case NotifyCollectionChangedAction.Reset: 5387if (e.Action == NotifyCollectionChangedAction.Reset) 5404else if (e.Action == NotifyCollectionChangedAction.Reset) 7331case NotifyCollectionChangedAction.Reset: 7469case NotifyCollectionChangedAction.Reset: 7725else if (e.Action == NotifyCollectionChangedAction.Reset)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2069case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
130case NotifyCollectionChangedAction.Reset: 136DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Reset, -1, null, -1);
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
232newArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (1)
292return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, list);
src\Framework\System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
27: base(NotifyCollectionChangedAction.Reset) // NotifyCollectionChangedEventArgs doesn't have 0 parameter constructor, so pass in an arbitrary parameter.
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
731case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
394case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\ItemCollection.cs (8)
471OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1739OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1986OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 2206goto case NotifyCollectionChangedAction.Reset; 2214goto case NotifyCollectionChangedAction.Reset; 2225goto case NotifyCollectionChangedAction.Reset; 2235goto case NotifyCollectionChangedAction.Reset; 2257case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (3)
2405if (sender != ItemsInternal && args.Action != NotifyCollectionChangedAction.Reset) 2442case NotifyCollectionChangedAction.Reset: 2787ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Reset, position, 0, 0));
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
314if (e.Action == NotifyCollectionChangedAction.Reset) 3721case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (2)
81case NotifyCollectionChangedAction.Reset: 446OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\System\Windows\Controls\Panel.cs (1)
713case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
356e.Action != NotifyCollectionChangedAction.Reset || columns.Count == 0,
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
170else if (e.Action == NotifyCollectionChangedAction.Reset)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (3)
907case NotifyCollectionChangedAction.Reset: 1134if (e.Action == NotifyCollectionChangedAction.Reset || 1222case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
405case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\TreeView.cs (1)
422case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
967case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
973case NotifyCollectionChangedAction.Reset: 1146case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
3542case NotifyCollectionChangedAction.Reset: 3650Debug.Assert(args.Action == NotifyCollectionChangedAction.Reset && args.ItemCount == 1); 3699ItemsChangedEventArgs newArgs = new ItemsChangedEventArgs(NotifyCollectionChangedAction.Reset,
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1349case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Data\BindingListCollectionView.cs (3)
1413OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1577case NotifyCollectionChangedAction.Reset: 2483case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
386OnContainedCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\System\Windows\Data\CollectionView.cs (4)
885OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1131case NotifyCollectionChangedAction.Reset: 1930if (args.Action == NotifyCollectionChangedAction.Reset) 2019case NotifyCollectionChangedAction.Reset:
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
154OnCollectionChanged(NotifyCollectionChangedAction.Reset);
src\Framework\System\Windows\Data\ListCollectionView.cs (6)
169OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1700case NotifyCollectionChangedAction.Reset: 1714if (args.Action != NotifyCollectionChangedAction.Reset) 1730if (args.Action == NotifyCollectionChangedAction.Reset) 2559case NotifyCollectionChangedAction.Reset: 2677if (action == NotifyCollectionChangedAction.Reset)
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (1)
197CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
src\Framework\System\Windows\ResourceDictionary.cs (1)
1840if (e.Action != NotifyCollectionChangedAction.Reset)
System (11)
compmod\system\collections\objectmodel\observablecollection.cs (1)
373OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
compmod\system\collections\specialized\notifycollectionchangedeventargs.cs (10)
59if (action != NotifyCollectionChangedAction.Reset) 60throw new ArgumentException(SR.GetString(SR.WrongActionForCtor, NotifyCollectionChangedAction.Reset), "action"); 73&& (action != NotifyCollectionChangedAction.Reset)) 76if (action == NotifyCollectionChangedAction.Reset) 98&& (action != NotifyCollectionChangedAction.Reset)) 101if (action == NotifyCollectionChangedAction.Reset) 124&& (action != NotifyCollectionChangedAction.Reset)) 127if (action == NotifyCollectionChangedAction.Reset) 152&& (action != NotifyCollectionChangedAction.Reset)) 155if (action == NotifyCollectionChangedAction.Reset)
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
173case NotifyCollectionChangedAction.Reset:
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (3)
47this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, null, -1)); 54this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, null, -1)); 61this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, null, -1));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
599case System.Collections.Specialized.NotifyCollectionChangedAction.Reset:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelCategoryEntry.cs (1)
275FirePropertiesChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
288this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 479case NotifyCollectionChangedAction.Reset:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueCollection.cs (1)
112this.CollectionChanged(this, e ?? new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
211else if (e.Action == NotifyCollectionChangedAction.Reset) 217new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System.Data (10)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (3)
47this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, null, -1)); 54this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, null, -1)); 61this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset, null, -1));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
599case System.Collections.Specialized.NotifyCollectionChangedAction.Reset:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelCategoryEntry.cs (1)
275FirePropertiesChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
288this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 479case NotifyCollectionChangedAction.Reset:
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueCollection.cs (1)
112this.CollectionChanged(this, e ?? new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
211else if (e.Action == NotifyCollectionChangedAction.Reset) 217new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System.Data.Services.Client (1)
System\Data\Services\Client\Binding\BindingObserver.cs (1)
333case NotifyCollectionChangedAction.Reset:
WindowsBase (1)
Base\System\ComponentModel\SortDescriptionCollection.cs (1)
80OnCollectionChanged(NotifyCollectionChangedAction.Reset);