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)
164OnCollectionChanged(NotifyCollectionChangedAction.Reset, 0, null, 0, null); 742case NotifyCollectionChangedAction.Reset:
System\Windows\Ink\StrokeCollection.cs (1)
649args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);
PresentationFramework (81)
MS\Internal\Annotations\AnnotationObservableCollection.cs (2)
162OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 190OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
MS\Internal\Annotations\XmlElementCollection.cs (1)
240OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
MS\Internal\Controls\InnerItemCollectionView.cs (1)
560OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
MS\Internal\Data\CompositeCollectionView.cs (7)
358OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 484args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset); 531args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset); 607args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset); 613case NotifyCollectionChangedAction.Reset: 780case NotifyCollectionChangedAction.Reset: 1464case NotifyCollectionChangedAction.Reset:
MS\Internal\Data\DifferencingCollection.cs (1)
237OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
MS\Internal\Data\EnumerableCollectionView.cs (2)
477case NotifyCollectionChangedAction.Reset: 512OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
MS\Internal\Navigation\JournalEntryStack.cs (1)
25CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System\Windows\Annotations\Annotation.cs (3)
725case NotifyCollectionChangedAction.Reset: 779case NotifyCollectionChangedAction.Reset: 828case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\DataGrid.cs (8)
242case NotifyCollectionChangedAction.Reset: 257visibleColumnsChanged |= (e.Action == NotifyCollectionChangedAction.Reset); 980case NotifyCollectionChangedAction.Reset: 5379if (e.Action == NotifyCollectionChangedAction.Reset) 5396else if (e.Action == NotifyCollectionChangedAction.Reset) 7325case NotifyCollectionChangedAction.Reset: 7463case NotifyCollectionChangedAction.Reset: 7719else if (e.Action == NotifyCollectionChangedAction.Reset)
System\Windows\Controls\DataGridCellsPanel.cs (1)
2063case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\DataGridColumnCollection.cs (2)
125case NotifyCollectionChangedAction.Reset: 131DataGridOwner.UpdateColumnsOnVirtualizedCellInfoCollections(NotifyCollectionChangedAction.Reset, -1, null, -1);
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
227newArgs = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);
System\Windows\Controls\GridViewColumnCollection.cs (1)
288return 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)
726case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\GridViewRowPresenter.cs (1)
387case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\ItemCollection.cs (8)
451OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1719OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1969OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 2189goto case NotifyCollectionChangedAction.Reset; 2197goto case NotifyCollectionChangedAction.Reset; 2208goto case NotifyCollectionChangedAction.Reset; 2218goto case NotifyCollectionChangedAction.Reset; 2240case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\ItemContainerGenerator.cs (3)
2391if (sender != ItemsInternal && args.Action != NotifyCollectionChangedAction.Reset) 2428case NotifyCollectionChangedAction.Reset: 2773ItemsChanged(this, new ItemsChangedEventArgs(NotifyCollectionChangedAction.Reset, position, 0, 0));
System\Windows\Controls\ItemsControl.cs (2)
303if (e.Action == NotifyCollectionChangedAction.Reset) 3780case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\MultipleCopiesCollection.cs (2)
77case NotifyCollectionChangedAction.Reset: 432OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System\Windows\Controls\Panel.cs (1)
702case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
350e.Action != NotifyCollectionChangedAction.Reset || columns.Count == 0,
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
165else if (e.Action == NotifyCollectionChangedAction.Reset)
System\Windows\Controls\Primitives\Selector.cs (3)
888case NotifyCollectionChangedAction.Reset: 1107if (e.Action == NotifyCollectionChangedAction.Reset || 1195case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
395case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\TreeView.cs (1)
416case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\TreeViewItem.cs (1)
963case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
966case NotifyCollectionChangedAction.Reset: 1139case NotifyCollectionChangedAction.Reset:
System\Windows\Controls\VirtualizingStackPanel.cs (3)
3602case NotifyCollectionChangedAction.Reset: 3710Debug.Assert(args.Action == NotifyCollectionChangedAction.Reset && args.ItemCount == 1); 3759ItemsChangedEventArgs newArgs = new ItemsChangedEventArgs(NotifyCollectionChangedAction.Reset,
System\Windows\Data\BindingGroup.cs (1)
1342case NotifyCollectionChangedAction.Reset:
System\Windows\Data\BindingListCollectionView.cs (3)
1401OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1565case NotifyCollectionChangedAction.Reset: 2470case NotifyCollectionChangedAction.Reset:
System\Windows\Data\CollectionContainer.cs (1)
371OnContainedCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System\Windows\Data\CollectionView.cs (4)
872OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1116case NotifyCollectionChangedAction.Reset: 1915if (args.Action == NotifyCollectionChangedAction.Reset) 2003case NotifyCollectionChangedAction.Reset:
System\Windows\Data\CompositeCollection.cs (1)
138OnCollectionChanged(NotifyCollectionChangedAction.Reset);
System\Windows\Data\ListCollectionView.cs (6)
156OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); 1685case NotifyCollectionChangedAction.Reset: 1699if (args.Action != NotifyCollectionChangedAction.Reset) 1715if (args.Action == NotifyCollectionChangedAction.Reset) 2540case NotifyCollectionChangedAction.Reset: 2658if (action == NotifyCollectionChangedAction.Reset)
System\Windows\Navigation\JournalEntryListConverter.cs (1)
186CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
System\Windows\ResourceDictionary.cs (1)
1852if (e.Action != NotifyCollectionChangedAction.Reset)
System.ObjectModel (5)
System\Collections\ObjectModel\ObservableCollection.cs (1)
319internal static readonly NotifyCollectionChangedEventArgs ResetCollectionChanged = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (4)
28if (action != NotifyCollectionChangedAction.Reset) 30throw new ArgumentException(SR.Format(SR.WrongActionForCtor, NotifyCollectionChangedAction.Reset), nameof(action)); 56case NotifyCollectionChangedAction.Reset: 104case NotifyCollectionChangedAction.Reset:
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
48case NotifyCollectionChangedAction.Reset:
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1097e.Action == NotifyCollectionChangedAction.Reset)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2409case NotifyCollectionChangedAction.Reset:
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
572case NotifyCollectionChangedAction.Reset:
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
327case NotifyCollectionChangedAction.Reset: