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