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