1 write to _snapshot
PresentationFramework (1)
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
44
_snapshot
= new ObservableCollection<object>();
16 references to _snapshot
PresentationFramework (16)
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (16)
52
if (
_snapshot
.Count > 0)
54
SetCurrent(
_snapshot
[0], 0, 1);
61
_view = new ListCollectionView(
_snapshot
);
410
if (args.NewStartingIndex < 0 ||
_snapshot
.Count <= args.NewStartingIndex)
414
_snapshot
.Add(args.NewItems[i]);
421
_snapshot
.Insert(args.NewStartingIndex, args.NewItems[i]);
432
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[index]))
435
_snapshot
.RemoveAt(index);
442
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[index]))
445
_snapshot
[index] = args.NewItems[i];
461
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[oldIndex]))
464
_snapshot
.Move(oldIndex, newIndex);
475
if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i],
_snapshot
[oldIndex]))
478
_snapshot
.Move(oldIndex, newIndex);
542
_snapshot
.Clear();
546
_snapshot
.Add(ie.Current);