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