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