1 write to _childrenCollection
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2475_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; 996if (_childrenCollection == null || index < 0 || index >= _childrenCollection.Count) 1001return _childrenCollection[index]; 1018return _childrenCollection.Count; 1041int count = _childrenCollection.Count; 1049Border background = _childrenCollection[i] as Border; 1064DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1157int count = _childrenCollection.Count; 1168UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1193if (visualChild > _childrenCollection.Count - 1) 1206UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1380if (_childrenCollection.Count > _firstPageVisualIndex) 1382DocumentGridPage firstDp = _childrenCollection[1] as DocumentGridPage; 1385DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1422if (j < firstPage || j > lastPage || _childrenCollection.Count <= _firstPageVisualIndex) 1440visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1498if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1506_childrenCollection.Insert(vcIndex, current); 1516if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1521_childrenCollection.Add(current); 1529_childrenCollection.Add(current); 1642for (int i = _childrenCollection.Count - 1; i >= _firstPageVisualIndex; i--) 1644DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1653_childrenCollection.Remove(dp); 1675_childrenCollection.Add(_documentGridBackground); 2266int count = _childrenCollection.Count; 2270UIElement page = _childrenCollection[i] as UIElement; 2744for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2746DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2766for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2768DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;