142 references to Reset
Microsoft.Maui.Controls (47)
Element\Element.cs (1)
875
case NotifyCollectionChangedAction.
Reset
:
GestureElement.cs (1)
48
case NotifyCollectionChangedAction.
Reset
:
IndicatorView\IndicatorView.cs (1)
165
OnCollectionChanged(ItemsSource, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
Internals\NotifyCollectionChangedEventArgsExtensions.cs (7)
40
goto case NotifyCollectionChangedAction.
Reset
;
49
goto case NotifyCollectionChangedAction.
Reset
;
65
goto case NotifyCollectionChangedAction.
Reset
;
73
goto case NotifyCollectionChangedAction.
Reset
;
82
case NotifyCollectionChangedAction.
Reset
:
84
return NotifyCollectionChangedAction.
Reset
;
108
return new NotifyCollectionChangedEventArgsEx(count, NotifyCollectionChangedAction.
Reset
);
Items\MarshalingObservableCollection.cs (3)
42
: base(NotifyCollectionChangedAction.
Reset
) => Items = items;
54
if (args.Action == NotifyCollectionChangedAction.
Reset
)
84
case NotifyCollectionChangedAction.
Reset
:
Label\Label.cs (2)
326
case NotifyCollectionChangedAction.
Reset
:
347
case NotifyCollectionChangedAction.
Reset
:
ListProxy.cs (1)
162
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
MultiPage.cs (6)
227
goto case NotifyCollectionChangedAction.
Reset
;
245
goto case NotifyCollectionChangedAction.
Reset
;
262
goto case NotifyCollectionChangedAction.
Reset
;
302
goto case NotifyCollectionChangedAction.
Reset
;
318
case NotifyCollectionChangedAction.
Reset
:
361
OnPagesChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
ObservableWrapper.cs (7)
182
goto case NotifyCollectionChangedAction.
Reset
;
193
goto case NotifyCollectionChangedAction.
Reset
;
205
goto case NotifyCollectionChangedAction.
Reset
;
217
goto case NotifyCollectionChangedAction.
Reset
;
228
goto case NotifyCollectionChangedAction.
Reset
;
236
case NotifyCollectionChangedAction.
Reset
:
237
handler(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
ResourceDictionary.cs (1)
116
if (e.Action == NotifyCollectionChangedAction.
Reset
)
TemplatedItemsList.cs (16)
729
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
802
goto case NotifyCollectionChangedAction.
Reset
;
821
goto case NotifyCollectionChangedAction.
Reset
;
845
goto case NotifyCollectionChangedAction.
Reset
;
871
goto case NotifyCollectionChangedAction.
Reset
;
916
case NotifyCollectionChangedAction.
Reset
:
962
OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
970
OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1021
goto case NotifyCollectionChangedAction.
Reset
;
1028
goto case NotifyCollectionChangedAction.
Reset
;
1081
goto case NotifyCollectionChangedAction.
Reset
;
1100
goto case NotifyCollectionChangedAction.
Reset
;
1105
case NotifyCollectionChangedAction.
Reset
:
1106
e = new NotifyCollectionChangedEventArgsEx(count, NotifyCollectionChangedAction.
Reset
);
1195
OnProxyCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1374
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
View\View.cs (1)
133
case NotifyCollectionChangedAction.
Reset
:
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\ViewRenderer.cs (1)
86
case NotifyCollectionChangedAction.
Reset
:
PresentationCore (3)
System\Windows\FreezableCollection.cs (2)
164
OnCollectionChanged(NotifyCollectionChangedAction.
Reset
, 0, null, 0, null);
742
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Ink\StrokeCollection.cs (1)
649
args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
);
PresentationFramework (81)
MS\Internal\Annotations\AnnotationObservableCollection.cs (2)
162
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
190
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
MS\Internal\Annotations\XmlElementCollection.cs (1)
240
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
MS\Internal\Controls\InnerItemCollectionView.cs (1)
560
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
MS\Internal\Data\CompositeCollectionView.cs (7)
358
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
484
args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
);
531
args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
);
607
args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
);
613
case NotifyCollectionChangedAction.
Reset
:
780
case NotifyCollectionChangedAction.
Reset
:
1464
case NotifyCollectionChangedAction.
Reset
:
MS\Internal\Data\DifferencingCollection.cs (1)
237
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
MS\Internal\Data\EnumerableCollectionView.cs (2)
477
case NotifyCollectionChangedAction.
Reset
:
512
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
MS\Internal\Navigation\JournalEntryStack.cs (1)
25
CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
System\Windows\Annotations\Annotation.cs (3)
725
case NotifyCollectionChangedAction.
Reset
:
779
case NotifyCollectionChangedAction.
Reset
:
828
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\DataGrid.cs (8)
242
case NotifyCollectionChangedAction.
Reset
:
257
visibleColumnsChanged |= (e.Action == NotifyCollectionChangedAction.
Reset
);
980
case NotifyCollectionChangedAction.
Reset
:
5379
if (e.Action == NotifyCollectionChangedAction.
Reset
)
5396
else if (e.Action == NotifyCollectionChangedAction.
Reset
)
7325
case NotifyCollectionChangedAction.
Reset
:
7463
case NotifyCollectionChangedAction.
Reset
:
7719
else if (e.Action == NotifyCollectionChangedAction.
Reset
)
System\Windows\Controls\DataGridCellsPanel.cs (1)
2063
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\DataGridColumnCollection.cs (2)
125
case NotifyCollectionChangedAction.
Reset
:
131
DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.
Reset
, -1, null, -1);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
227
newArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
);
System\Windows\Controls\GridViewColumnCollection.cs (1)
288
return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
, list);
System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
22
: base(NotifyCollectionChangedAction.
Reset
) // NotifyCollectionChangedEventArgs doesn't have 0 parameter constructor, so pass in an arbitrary parameter.
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
726
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\GridViewRowPresenter.cs (1)
387
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\ItemCollection.cs (8)
451
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1719
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1969
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
2189
goto case NotifyCollectionChangedAction.
Reset
;
2197
goto case NotifyCollectionChangedAction.
Reset
;
2208
goto case NotifyCollectionChangedAction.
Reset
;
2218
goto case NotifyCollectionChangedAction.
Reset
;
2240
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\ItemContainerGenerator.cs (3)
2391
if (sender != ItemsInternal && args.Action != NotifyCollectionChangedAction.
Reset
)
2428
case NotifyCollectionChangedAction.
Reset
:
2773
ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.
Reset
, position, 0, 0));
System\Windows\Controls\ItemsControl.cs (2)
303
if (e.Action == NotifyCollectionChangedAction.
Reset
)
3780
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\MultipleCopiesCollection.cs (2)
77
case NotifyCollectionChangedAction.
Reset
:
432
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
System\Windows\Controls\Panel.cs (1)
702
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
350
e.Action != NotifyCollectionChangedAction.
Reset
|| columns.Count == 0,
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
165
else if (e.Action == NotifyCollectionChangedAction.
Reset
)
System\Windows\Controls\Primitives\Selector.cs (3)
888
case NotifyCollectionChangedAction.
Reset
:
1107
if (e.Action == NotifyCollectionChangedAction.
Reset
||
1195
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
395
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\TreeView.cs (1)
416
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\TreeViewItem.cs (1)
963
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
966
case NotifyCollectionChangedAction.
Reset
:
1139
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Controls\VirtualizingStackPanel.cs (3)
3602
case NotifyCollectionChangedAction.
Reset
:
3710
Debug.Assert(args.Action == NotifyCollectionChangedAction.
Reset
&& args.ItemCount == 1);
3759
ItemsChangedEventArgs newArgs = new ItemsChangedEventArgs(NotifyCollectionChangedAction.
Reset
,
System\Windows\Data\BindingGroup.cs (1)
1342
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Data\BindingListCollectionView.cs (3)
1401
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1565
case NotifyCollectionChangedAction.
Reset
:
2470
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Data\CollectionContainer.cs (1)
371
OnContainedCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
System\Windows\Data\CollectionView.cs (4)
872
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1116
case NotifyCollectionChangedAction.
Reset
:
1915
if (args.Action == NotifyCollectionChangedAction.
Reset
)
2003
case NotifyCollectionChangedAction.
Reset
:
System\Windows\Data\CompositeCollection.cs (1)
138
OnCollectionChanged(NotifyCollectionChangedAction.
Reset
);
System\Windows\Data\ListCollectionView.cs (6)
156
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
1685
case NotifyCollectionChangedAction.
Reset
:
1699
if (args.Action != NotifyCollectionChangedAction.
Reset
)
1715
if (args.Action == NotifyCollectionChangedAction.
Reset
)
2540
case NotifyCollectionChangedAction.
Reset
:
2658
if (action == NotifyCollectionChangedAction.
Reset
)
System\Windows\Navigation\JournalEntryListConverter.cs (1)
186
CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
));
System\Windows\ResourceDictionary.cs (1)
1852
if (e.Action != NotifyCollectionChangedAction.
Reset
)
System.ObjectModel (5)
System\Collections\ObjectModel\ObservableCollection.cs (1)
319
internal static readonly NotifyCollectionChangedEventArgs ResetCollectionChanged = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.
Reset
);
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (4)
28
if (action != NotifyCollectionChangedAction.
Reset
)
30
throw new ArgumentException(SR.Format(SR.WrongActionForCtor, NotifyCollectionChangedAction.
Reset
), nameof(action));
56
case NotifyCollectionChangedAction.
Reset
:
104
case NotifyCollectionChangedAction.
Reset
:
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
48
case NotifyCollectionChangedAction.
Reset
:
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1097
e.Action == NotifyCollectionChangedAction.
Reset
)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2409
case NotifyCollectionChangedAction.
Reset
:
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
572
case NotifyCollectionChangedAction.
Reset
:
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
327
case NotifyCollectionChangedAction.
Reset
: