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