1 write to _collection
PresentationFramework (1)
MS\Internal\Data\CompositeCollectionView.cs (1)
40
_collection
= collection;
44 references to _collection
PresentationFramework (44)
MS\Internal\Data\CompositeCollectionView.cs (44)
41
_collection
.ContainedCollectionChanged += new NotifyCollectionChangedEventHandler(OnContainedCollectionChanged);
76
_count = CountDeep(
_collection
.Count);
102
for (int i = 0; i <
_collection
.Count; ++i)
104
CollectionContainer cc =
_collection
[i] as CollectionContainer;
125
return (IsEmpty || (_currentPositionX >=
_collection
.Count));
379
return new FlatteningEnumerator(
_collection
, this);
423
cc =
_collection
[k] as CollectionContainer;
500
CollectionContainer cc =
_collection
[k] as CollectionContainer;
549
CollectionContainer cc =
_collection
[k] as CollectionContainer;
560
CollectionContainer cc =
_collection
[k] as CollectionContainer;
618
if (
_collection
.Count != 0)
691
for (x = 0; x <
_collection
.Count; ++x)
693
CollectionContainer cc =
_collection
[x] as CollectionContainer;
714
if (x >=
_collection
.Count)
803
for (int k = 0, n =
_collection
.Count; k < n; ++k)
805
CollectionContainer cc =
_collection
[k] as CollectionContainer;
817
if (!HashHelper.HasReliableHashCode(
_collection
[k]))
830
if (
_collection
!= null)
832
_collection
.GetCollectionChangedSources(level + 1, format, sources);
851
return (0 <= _currentPositionX && _currentPositionX <
_collection
.Count);
873
for (; positionX <
_collection
.Count; ++positionX)
875
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
879
if (ItemsControl.EqualsEx(
_collection
[positionX], item))
897
if (positionX >=
_collection
.Count)
953
positionX =
_collection
.Count;
959
for (int i = 0; i <
_collection
.Count; ++i)
961
CollectionContainer cc =
_collection
[i] as CollectionContainer;
968
return
_collection
[i];
996
positionX =
_collection
.Count;
1008
for (; positionX <
_collection
.Count; ++positionX)
1010
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
1013
item =
_collection
[positionX];
1028
if (positionX <
_collection
.Count)
1035
_currentPositionX =
_collection
.Count;
1046
Invariant.Assert(end <=
_collection
.Count);
1051
CollectionContainer cc =
_collection
[i] as CollectionContainer;
1281
if (IsCurrentInView && refreshedObject ==
_collection
[_currentPositionX])
1311
if (
_collection
[i] == refreshedObject)
1346
if (_currentPositionX >=
_collection
.Count)
1382
positionX =
_collection
.Count - 1;
1385
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
1388
lastItem =
_collection
[positionX];
1665
if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !
_collection
.HasRepeatedCollection())
1670
if ((CurrentItem != null) && !
_collection
.HasRepeatedCollection())