1 write to _childrenCollection
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2481_childrenCollection = new VisualCollection(this);
36 references to _childrenCollection
PresentationFramework (36)
MS\Internal\Documents\DocumentGrid.cs (36)
851int count = _childrenCollection.Count; 854DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 999if (_childrenCollection == null || index < 0 || index >= _childrenCollection.Count) 1004return _childrenCollection[index]; 1021return _childrenCollection.Count; 1044int count = _childrenCollection.Count; 1052Border background = _childrenCollection[i] as Border; 1067DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1160int count = _childrenCollection.Count; 1171UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1196if (visualChild > _childrenCollection.Count - 1) 1209UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1386if (_childrenCollection.Count > _firstPageVisualIndex) 1388DocumentGridPage firstDp = _childrenCollection[1] as DocumentGridPage; 1391DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1428if (j < firstPage || j > lastPage || _childrenCollection.Count <= _firstPageVisualIndex) 1446visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1504if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1512_childrenCollection.Insert(vcIndex, current); 1522if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1527_childrenCollection.Add(current); 1535_childrenCollection.Add(current); 1648for (int i = _childrenCollection.Count - 1; i >= _firstPageVisualIndex; i--) 1650DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1659_childrenCollection.Remove(dp); 1681_childrenCollection.Add(_documentGridBackground); 2272int count = _childrenCollection.Count; 2276UIElement page = _childrenCollection[i] as UIElement; 2750for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2752DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2772for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2774DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;