2 writes to Length
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1684
out run.
Length
1723
Length
= length;
39 references to Length
PresentationCore (39)
MS\Internal\TextFormatting\SimpleTextLine.cs (39)
131
cp += run.
Length
;
183
cp += run.
Length
;
279
if(run.
Length
> 0)
284
trailing += run.
Length
;
285
_cpLengthEOT += run.
Length
;
294
_cpLength += run.
Length
;
340
t -= run.
Length
;
428
if(run.
Length
> 0)
435
nonHiddenLength += run.
Length
;
456
if(dcp <= run.
Length
)
461
dcp -= run.
Length
;
839
&& ich + run.
Length
> dcp)
845
int afterLast = Math.Min(ich + run.
Length
, dcp + textLength) + _cpFirst;
865
ich += run.
Length
;
893
textRunSpans[i] = new TextSpan<TextRun>(_runs[i].
Length
, _runs[i].TextRun);
913
if (run.
Length
> 0 && !run.Ghost)
944
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
960
run.
Length
,
967
currentCp += run.
Length
;
1216
cpRunStart += _runs[runIndex++].
Length
;
1237
cpRunEnd += _runs[runIndex].
Length
- 1;
1252
cpVisible = cpRunEnd - _runs[runIndex].
Length
+ 1;
1256
cpRunEnd -= _runs[runIndex--].
Length
;
1273
while (runIndex < _runs.Length && cpRunStart + _runs[runIndex].
Length
<= cp)
1275
cpRunStart += _runs[runIndex++].
Length
;
1694
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
1742
if (
Length
<= 0 || this.Ghost)
1782
CharacterBufferRange charBufferRange = new CharacterBufferRange(CharBufferReference,
Length
);
1830
int underlineLength =
Length
;
1912
trailing +=
Length
;
1925
int dcp =
Length
;
1969
if (dcp >
Length
)
1971
dcp =
Length
;
1989
return (EOT || idealDistance <= 0) ? new CharacterHit() : new CharacterHit(
Length
, 0);
1992
if (
Length
<= 0)
2005
while (dcp <
Length
&& idealDistance >= (Tab ? (currentIdealAdvance = IdealWidth /
Length
)
2012
if (dcp <
Length
)
2019
return new CharacterHit(
Length
- 1, 1);