1 write to _childrenCollection
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2478_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; 1383if (_childrenCollection.Count > _firstPageVisualIndex) 1385DocumentGridPage firstDp = _childrenCollection[1] as DocumentGridPage; 1388DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1425if (j < firstPage || j > lastPage || _childrenCollection.Count <= _firstPageVisualIndex) 1443visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1501if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1509_childrenCollection.Insert(vcIndex, current); 1519if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1524_childrenCollection.Add(current); 1532_childrenCollection.Add(current); 1645for (int i = _childrenCollection.Count - 1; i >= _firstPageVisualIndex; i--) 1647DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1656_childrenCollection.Remove(dp); 1678_childrenCollection.Add(_documentGridBackground); 2269int count = _childrenCollection.Count; 2273UIElement page = _childrenCollection[i] as UIElement; 2747for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2749DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2769for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2771DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;