1 write to _childrenCollection
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2492_childrenCollection = new VisualCollection(this);
36 references to _childrenCollection
PresentationFramework (36)
MS\Internal\Documents\DocumentGrid.cs (36)
859int count = _childrenCollection.Count; 862DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1007if (_childrenCollection == null || index < 0 || index >= _childrenCollection.Count) 1012return _childrenCollection[index]; 1029return _childrenCollection.Count; 1052int count = _childrenCollection.Count; 1060Border background = _childrenCollection[i] as Border; 1075DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1168int count = _childrenCollection.Count; 1179UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1204if (visualChild > _childrenCollection.Count - 1) 1217UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1394if (_childrenCollection.Count > _firstPageVisualIndex) 1396DocumentGridPage firstDp = _childrenCollection[1] as DocumentGridPage; 1399DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1436if (j < firstPage || j > lastPage || _childrenCollection.Count <= _firstPageVisualIndex) 1452visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1510if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1518_childrenCollection.Insert(vcIndex, current); 1528if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1533_childrenCollection.Add(current); 1541_childrenCollection.Add(current); 1654for (int i = _childrenCollection.Count - 1; i >= _firstPageVisualIndex; i--) 1656DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1665_childrenCollection.Remove(dp); 1685_childrenCollection.Add(_documentGridBackground); 2280int count = _childrenCollection.Count; 2284UIElement page = _childrenCollection[i] as UIElement; 2765for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2767DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2787for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2789DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;