1 write to _collection
PresentationFramework (1)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (1)
53
_collection
= collection;
42 references to _collection
PresentationFramework (42)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (42)
54
_collection
.ContainedCollectionChanged += new NotifyCollectionChangedEventHandler(OnContainedCollectionChanged);
89
_count = CountDeep(
_collection
.Count);
115
for (int i = 0; i <
_collection
.Count; ++i)
117
CollectionContainer cc =
_collection
[i] as CollectionContainer;
138
return (IsEmpty || (_currentPositionX >=
_collection
.Count));
398
return new FlatteningEnumerator(
_collection
, this);
444
cc =
_collection
[k] as CollectionContainer;
521
CollectionContainer cc =
_collection
[k] as CollectionContainer;
572
CollectionContainer cc =
_collection
[k] as CollectionContainer;
583
CollectionContainer cc =
_collection
[k] as CollectionContainer;
641
if (
_collection
.Count != 0)
714
for (x = 0; x <
_collection
.Count; ++x)
716
CollectionContainer cc =
_collection
[x] as CollectionContainer;
737
if (x >=
_collection
.Count)
826
for (int k=0, n=
_collection
.Count; k<n; ++k)
828
CollectionContainer cc =
_collection
[k] as CollectionContainer;
840
if (!HashHelper.HasReliableHashCode(
_collection
[k]))
853
if (
_collection
!= null)
855
_collection
.GetCollectionChangedSources(level+1, format, sources);
874
return (0 <= _currentPositionX && _currentPositionX <
_collection
.Count);
896
for (; positionX <
_collection
.Count; ++positionX)
898
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
902
if (ItemsControl.EqualsEx(
_collection
[positionX], item))
920
if (positionX >=
_collection
.Count)
977
positionX =
_collection
.Count;
983
for (int i = 0; i <
_collection
.Count; ++i)
985
CollectionContainer cc =
_collection
[i] as CollectionContainer;
992
return
_collection
[i];
1020
positionX =
_collection
.Count;
1032
for (; positionX <
_collection
.Count; ++positionX)
1034
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
1037
item =
_collection
[positionX];
1052
if (positionX <
_collection
.Count)
1059
_currentPositionX =
_collection
.Count;
1070
Invariant.Assert(end <=
_collection
.Count);
1075
CollectionContainer cc =
_collection
[i] as CollectionContainer;
1306
if (IsCurrentInView && refreshedObject ==
_collection
[_currentPositionX])
1336
if (
_collection
[i] == refreshedObject)
1371
if (_currentPositionX >=
_collection
.Count)
1407
positionX =
_collection
.Count - 1;
1410
CollectionContainer cc =
_collection
[positionX] as CollectionContainer;
1413
lastItem =
_collection
[positionX];