13 references to Length
PresentationFramework (13)
MS\Internal\Documents\FlowDocumentFormatter.cs (2)
120
Invariant.Assert(_document.StructuralCache.DtrList == null || _document.StructuralCache.DtrList.
Length
== 0 ||
121
(_document.StructuralCache.DtrList.
Length
== 1 && _document.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText));
MS\Internal\Documents\TextBoxView.cs (5)
1545
if (_dirtyList.
Length
> 0
1609
else if (_dirtyList.
Length
== 0)
1930
for (int i = 0; i < _dirtyList.
Length
; i++)
2324
Invariant.Assert(_dirtyList.
Length
> 0); // We only allocate _dirtyList when it has content.
2349
for (int i = 1; i < _dirtyList.
Length
; i++)
MS\Internal\PtsHost\BackgroundFormatInfo.cs (2)
61
for(int dtrIndex = 0; dtrIndex < _structuralCache.DtrList.
Length
- 1; dtrIndex++)
66
DirtyTextRange dtrLast = _structuralCache.DtrList[_structuralCache.DtrList.
Length
- 1];
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1146
for (int i = 0; i < dtrs.
Length
; i++)
MS\Internal\PtsHost\FloaterParagraph.cs (1)
780
if (dtrs != null && dtrs.
Length
> 0)
MS\Internal\PtsHost\TextParagraph.cs (2)
810
if (dtrs.
Length
> 1)
812
for (int i = 1; i < dtrs.
Length
; i++)