1 write to _collection
PresentationFramework (1)
MS\Internal\Data\CompositeCollectionView.cs (1)
46
_collection
= collection;
44 references to _collection
PresentationFramework (44)
MS\Internal\Data\CompositeCollectionView.cs (44)
47
_collection
.ContainedCollectionChanged += new NotifyCollectionChangedEventHandler(OnContainedCollectionChanged);
82
_count = CountDeep(
_collection
.Count);
108
for (int i = 0; i <
_collection
.Count; ++i)
110
CollectionContainer cc =
_collection
[i] as CollectionContainer;
131
return (IsEmpty || (_currentPositionX >=
_collection
.Count));
385
return new FlatteningEnumerator(
_collection
, this);
429
cc =
_collection
[k] as CollectionContainer;
506
CollectionContainer cc =
_collection
[k] as CollectionContainer;
555
CollectionContainer cc =
_collection
[k] as CollectionContainer;
566
CollectionContainer cc =
_collection
[k] as CollectionContainer;
624
if (
_collection
.Count != 0)
697
for (x = 0; x <
_collection
.Count; ++x)
699
CollectionContainer cc =
_collection
[x] as CollectionContainer;
720
if (x >=
_collection
.Count)
809
for (int k = 0, n =
_collection
.Count; k < n; ++k)
811
CollectionContainer cc =
_collection
[k] as CollectionContainer;
823
if (!HashHelper.HasReliableHashCode(
_collection
[k]))
836
if (
_collection
!= null)
838
_collection
.GetCollectionChangedSources(level + 1, format, sources);
857
return (0 <= _currentPositionX && _currentPositionX <
_collection
.Count);
879
for (; positionX <
_collection
.Count; ++positionX)
881
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
885
if (ItemsControl.EqualsEx(
_collection
[positionX], item))
903
if (positionX >=
_collection
.Count)
959
positionX =
_collection
.Count;
965
for (int i = 0; i <
_collection
.Count; ++i)
967
CollectionContainer cc =
_collection
[i] as CollectionContainer;
974
return
_collection
[i];
1002
positionX =
_collection
.Count;
1014
for (; positionX <
_collection
.Count; ++positionX)
1016
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
1019
item =
_collection
[positionX];
1034
if (positionX <
_collection
.Count)
1041
_currentPositionX =
_collection
.Count;
1052
Invariant.Assert(end <=
_collection
.Count);
1057
CollectionContainer cc =
_collection
[i] as CollectionContainer;
1287
if (IsCurrentInView && refreshedObject ==
_collection
[_currentPositionX])
1317
if (
_collection
[i] == refreshedObject)
1352
if (_currentPositionX >=
_collection
.Count)
1388
positionX =
_collection
.Count - 1;
1391
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
1394
lastItem =
_collection
[positionX];
1671
if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !
_collection
.HasRepeatedCollection())
1676
if ((CurrentItem != null) && !
_collection
.HasRepeatedCollection())