1 write to _childrenCollection
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2488_childrenCollection = new VisualCollection(this);
36 references to _childrenCollection
PresentationFramework (36)
MS\Internal\Documents\DocumentGrid.cs (36)
852int count = _childrenCollection.Count; 855DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1000if (_childrenCollection == null || index < 0 || index >= _childrenCollection.Count) 1005return _childrenCollection[index]; 1022return _childrenCollection.Count; 1045int count = _childrenCollection.Count; 1053Border background = _childrenCollection[i] as Border; 1068DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1161int count = _childrenCollection.Count; 1172UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1197if (visualChild > _childrenCollection.Count - 1) 1210UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1387if (_childrenCollection.Count > _firstPageVisualIndex) 1389DocumentGridPage firstDp = _childrenCollection[1] as DocumentGridPage; 1392DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1429if (j < firstPage || j > lastPage || _childrenCollection.Count <= _firstPageVisualIndex) 1447visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1505if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1513_childrenCollection.Insert(vcIndex, current); 1523if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1528_childrenCollection.Add(current); 1536_childrenCollection.Add(current); 1649for (int i = _childrenCollection.Count - 1; i >= _firstPageVisualIndex; i--) 1651DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1660_childrenCollection.Remove(dp); 1682_childrenCollection.Add(_documentGridBackground); 2276int count = _childrenCollection.Count; 2280UIElement page = _childrenCollection[i] as UIElement; 2763for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2765DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2785for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2787DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;