1 write to _childrenCollection
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2488
_childrenCollection
= new VisualCollection(this);
36 references to _childrenCollection
PresentationFramework (36)
MS\Internal\Documents\DocumentGrid.cs (36)
852
int count =
_childrenCollection
.Count;
855
DocumentGridPage dp =
_childrenCollection
[i] as DocumentGridPage;
1000
if (
_childrenCollection
== null || index < 0 || index >=
_childrenCollection
.Count)
1005
return
_childrenCollection
[index];
1022
return
_childrenCollection
.Count;
1045
int count =
_childrenCollection
.Count;
1053
Border background =
_childrenCollection
[i] as Border;
1068
DocumentGridPage page =
_childrenCollection
[i] as DocumentGridPage;
1161
int count =
_childrenCollection
.Count;
1172
UIElement background =
_childrenCollection
[_backgroundVisualIndex] as UIElement;
1197
if (visualChild >
_childrenCollection
.Count - 1)
1210
UIElement uiPage =
_childrenCollection
[visualChild] as UIElement;
1387
if (
_childrenCollection
.Count > _firstPageVisualIndex)
1389
DocumentGridPage firstDp =
_childrenCollection
[1] as DocumentGridPage;
1392
DocumentGridPage lastDp =
_childrenCollection
[
_childrenCollection
.Count - 1] as DocumentGridPage;
1429
if (j < firstPage || j > lastPage ||
_childrenCollection
.Count <= _firstPageVisualIndex)
1447
visiblePages.Add(
_childrenCollection
[_firstPageVisualIndex + j - Math.Max(0, firstPage)]);
1505
if (vcIndex <
_childrenCollection
.Count &&
_childrenCollection
[vcIndex] == current)
1513
_childrenCollection
.Insert(vcIndex, current);
1523
if (vcIndex >=
_childrenCollection
.Count ||
_childrenCollection
[vcIndex] != current)
1528
_childrenCollection
.Add(current);
1536
_childrenCollection
.Add(current);
1649
for (int i =
_childrenCollection
.Count - 1; i >= _firstPageVisualIndex; i--)
1651
DocumentGridPage dp =
_childrenCollection
[i] as DocumentGridPage;
1660
_childrenCollection
.Remove(dp);
1682
_childrenCollection
.Add(_documentGridBackground);
2276
int count =
_childrenCollection
.Count;
2280
UIElement page =
_childrenCollection
[i] as UIElement;
2763
for (int i = _firstPageVisualIndex; i <
_childrenCollection
.Count; i++)
2765
DocumentGridPage dp =
_childrenCollection
[i] as DocumentGridPage;
2785
for (int i = _firstPageVisualIndex; i <
_childrenCollection
.Count; i++)
2787
DocumentGridPage dp =
_childrenCollection
[i] as DocumentGridPage;