13 references to Length
PresentationFramework (13)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (2)
125
Invariant.Assert(_document.StructuralCache.DtrList == null || _document.StructuralCache.DtrList.
Length
== 0 ||
126
(_document.StructuralCache.DtrList.
Length
== 1 && _document.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText));
src\Framework\MS\Internal\Documents\TextBoxView.cs (5)
1546
if (_dirtyList.
Length
> 0
1610
else if (_dirtyList.
Length
== 0)
1928
for (int i = 0; i < _dirtyList.
Length
; i++)
2320
Invariant.Assert(_dirtyList.
Length
> 0); // We only allocate _dirtyList when it has content.
2345
for (int i = 1; i < _dirtyList.
Length
; i++)
src\Framework\MS\Internal\PtsHost\BackgroundFormatInfo.cs (2)
65
for(int dtrIndex = 0; dtrIndex < _structuralCache.DtrList.
Length
- 1; dtrIndex++)
70
DirtyTextRange dtrLast = _structuralCache.DtrList[_structuralCache.DtrList.
Length
- 1];
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1172
for (int i = 0; i < dtrs.
Length
; i++)
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (1)
810
if (dtrs != null && dtrs.
Length
> 0)
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
817
if (dtrs.
Length
> 1)
819
for (int i = 1; i < dtrs.
Length
; i++)