1 write to _snapshot
PresentationFramework (1)
MS\Internal\Data\EnumerableCollectionView.cs (1)
37
_snapshot
= new ObservableCollection<object>();
16 references to _snapshot
PresentationFramework (16)
MS\Internal\Data\EnumerableCollectionView.cs (16)
45
if (
_snapshot
.Count > 0)
47
SetCurrent(
_snapshot
[0], 0, 1);
54
_view = new ListCollectionView(
_snapshot
);
403
if (args.NewStartingIndex < 0 ||
_snapshot
.Count <= args.NewStartingIndex)
407
_snapshot
.Add(args.NewItems[i]);
414
_snapshot
.Insert(args.NewStartingIndex, args.NewItems[i]);
425
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[index]))
428
_snapshot
.RemoveAt(index);
435
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[index]))
438
_snapshot
[index] = args.NewItems[i];
454
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[oldIndex]))
457
_snapshot
.Move(oldIndex, newIndex);
468
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[oldIndex]))
471
_snapshot
.Move(oldIndex, newIndex);
535
_snapshot
.Clear();
539
_snapshot
.Add(ie.Current);