1 write to _childrenCollection
PresentationFramework (1)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2534_childrenCollection = new VisualCollection(this);
36 references to _childrenCollection
PresentationFramework (36)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (36)
878int count = _childrenCollection.Count; 881DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1027if(_childrenCollection == null || index < 0 || index >= _childrenCollection.Count) 1032return _childrenCollection[index]; 1049return _childrenCollection.Count; 1073int count = _childrenCollection.Count; 1081Border background = _childrenCollection[i] as Border; 1096DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1192int count = _childrenCollection.Count; 1203UIElement background =_childrenCollection[_backgroundVisualIndex] as UIElement; 1228if (visualChild > _childrenCollection.Count - 1) 1241UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1422if (_childrenCollection.Count > _firstPageVisualIndex) 1424DocumentGridPage firstDp = _childrenCollection[1] as DocumentGridPage; 1427DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count-1] as DocumentGridPage; 1465if (j < firstPage || j > lastPage || _childrenCollection.Count <= _firstPageVisualIndex) 1481visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1539if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1547_childrenCollection.Insert(vcIndex, current); 1557if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1562_childrenCollection.Add(current); 1570_childrenCollection.Add(current); 1685for (int i = _childrenCollection.Count - 1; i >= _firstPageVisualIndex; i--) 1687DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1696_childrenCollection.Remove(dp); 1716_childrenCollection.Add(_documentGridBackground); 2321int count = _childrenCollection.Count; 2325UIElement page = _childrenCollection[i] as UIElement; 2816for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2818DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2838for (int i = _firstPageVisualIndex; i < _childrenCollection.Count; i++) 2840DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;