2 writes to Length
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1678
out run.
Length
1717
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
;
833
&& ich + run.
Length
> dcp)
839
int afterLast = Math.Min(ich + run.
Length
, dcp + textLength) + _cpFirst;
859
ich += run.
Length
;
887
textRunSpans[i] = new TextSpan<TextRun>(_runs[i].
Length
, _runs[i].TextRun);
907
if (run.
Length
> 0 && !run.Ghost)
938
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
954
run.
Length
,
961
currentCp += run.
Length
;
1210
cpRunStart += _runs[runIndex++].
Length
;
1231
cpRunEnd += _runs[runIndex].
Length
- 1;
1246
cpVisible = cpRunEnd - _runs[runIndex].
Length
+ 1;
1250
cpRunEnd -= _runs[runIndex--].
Length
;
1267
while (runIndex < _runs.Length && cpRunStart + _runs[runIndex].
Length
<= cp)
1269
cpRunStart += _runs[runIndex++].
Length
;
1688
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
1736
if (
Length
<= 0 || this.Ghost)
1776
CharacterBufferRange charBufferRange = new CharacterBufferRange(CharBufferReference,
Length
);
1824
int underlineLength =
Length
;
1906
trailing +=
Length
;
1919
int dcp =
Length
;
1963
if (dcp >
Length
)
1965
dcp =
Length
;
1983
return (EOT || idealDistance <= 0) ? new CharacterHit() : new CharacterHit(
Length
, 0);
1986
if (
Length
<= 0)
1999
while (dcp <
Length
&& idealDistance >= (Tab ? (currentIdealAdvance = IdealWidth /
Length
)
2006
if (dcp <
Length
)
2013
return new CharacterHit(
Length
- 1, 1);