6 writes to ChildCount
PresentationFramework (6)
System\Windows\Documents\RtfToXamlReader.cs (6)
6566
dnClose.
ChildCount
= nChildCount;
7115
dnParent.
ChildCount
+= 1;
7148
dnPa.
ChildCount
-= nExcise;
7311
dn.
ChildCount
= nChildrenOldTable; // Update old table child count
7312
EntryAt(nAt + 1).
ChildCount
= nChildrenOldTable - 1; // Update old TableBody child count
7323
dnPa.
ChildCount
+= 2;
47 references to ChildCount
PresentationFramework (47)
System\Windows\Documents\RtfToXamlReader.cs (32)
5457
int parentLastChild = Index +
ChildCount
;
5476
int nLast = dnCell.Index + dnCell.
ChildCount
;
5503
int nLast = this.Index + this.
ChildCount
;
5527
int nLast = this.Index + this.
ChildCount
;
5555
int nLast = dnRow.Index + dnRow.
ChildCount
;
5824
return
ChildCount
> 0 || Xaml != null;
5950
return Index +
ChildCount
;
6335
int nChild = dnCoalesce.
ChildCount
;
6432
int nChild = dnCoalesce.
ChildCount
;
6445
if (dn.
ChildCount
== 0)
6451
Debug.Assert(nAt + dn.
ChildCount
<= nEnd);
6456
int nChildrenHere = dn.
ChildCount
;
6461
Debug.Assert(dnChild.
ChildCount
== 0 && dnChild.IsTerminated);
6493
int nChild = dnCoalesce.
ChildCount
;
6506
if (dn.
ChildCount
== 0 && nAt != nStart)
6510
else if (dn.
ChildCount
> 0)
6512
Debug.Assert(nAt + dn.
ChildCount
<= nEnd);
6520
int nChildrenHere = dn.
ChildCount
;
6525
Debug.Assert(dnChild.
ChildCount
== 0 && dnChild.IsTerminated);
6569
int nEnd = index + dnClose.
ChildCount
;
6574
nAt += dn.
ChildCount
+ 1;
6625
Debug.Assert(nAt + dn.
ChildCount
< Count);
6629
Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.
ChildCount
));
7023
if (dnPrev.
ChildCount
== 0)
7208
int nEndItem = nAt + dn.
ChildCount
;
7249
int nEndItem = nAt + dn.
ChildCount
;
7310
int nChildrenNewTable = dn.
ChildCount
- nChildrenOldTable;
8227
Debug.Assert(dn.
ChildCount
== 0);
8255
Debug.Assert(dn.
ChildCount
== 0);
8290
nChildCount -= dn.
ChildCount
;
8826
int nEnd = ndnListText + dnListText.
ChildCount
;
9841
&& nInsertAt + dn.
ChildCount
== dna.Count)
System\Windows\Documents\XamlToRtfWriter.cs (15)
237
nEndList = dn1.Index + dn1.
ChildCount
+ 1;
267
nEndList = dn.Index + dn.
ChildCount
+ 1;
411
nEndList = dn1.Index + dn1.
ChildCount
+ 1;
432
nEndList = dn.Index + dn.
ChildCount
+ 1;
870
for (; nStart <= nIndex + documentNode.
ChildCount
; nStart++)
904
for (; nStart <= nIndex + documentNode.
ChildCount
; nStart++)
1007
for (nAt = nStart; nAt <= nIndex + dnThis.
ChildCount
; nAt++)
1064
for (nAt = nStart; nAt <= nIndex + dnThis.
ChildCount
; nAt++)
1193
for (nAt = nStart; nAt <= nIndex + dnThis.
ChildCount
; nAt++)
1682
for (int childIndex = dnCell.Index + 1; childIndex <= dnCell.Index + dnCell.
ChildCount
; childIndex++)
1703
for (int tableChildIndex = dnTable.Index+1; tableChildIndex <= dnTable.Index+dnTable.
ChildCount
; tableChildIndex++)
1727
tableChildIndex += dnChild.
ChildCount
;
1825
dna.InsertChildAt(dnRow, dnNew, dnRow.Index + dnRow.
ChildCount
+ 1, 0);
1934
for (; nStart <= nIndex + dnThis.
ChildCount
; nStart++)
1986
i += dn.
ChildCount
+ 1;