2 writes to Length
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1677
out run.
Length
1716
Length
= length;
39 references to Length
PresentationCore (39)
MS\Internal\TextFormatting\SimpleTextLine.cs (39)
130
cp += run.
Length
;
182
cp += run.
Length
;
278
if(run.
Length
> 0)
283
trailing += run.
Length
;
284
_cpLengthEOT += run.
Length
;
293
_cpLength += run.
Length
;
339
t -= run.
Length
;
427
if(run.
Length
> 0)
434
nonHiddenLength += run.
Length
;
455
if(dcp <= run.
Length
)
460
dcp -= run.
Length
;
832
&& ich + run.
Length
> dcp)
838
int afterLast = Math.Min(ich + run.
Length
, dcp + textLength) + _cpFirst;
858
ich += run.
Length
;
886
textRunSpans[i] = new TextSpan<TextRun>(_runs[i].
Length
, _runs[i].TextRun);
906
if (run.
Length
> 0 && !run.Ghost)
937
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
953
run.
Length
,
960
currentCp += run.
Length
;
1209
cpRunStart += _runs[runIndex++].
Length
;
1230
cpRunEnd += _runs[runIndex].
Length
- 1;
1245
cpVisible = cpRunEnd - _runs[runIndex].
Length
+ 1;
1249
cpRunEnd -= _runs[runIndex--].
Length
;
1266
while (runIndex < _runs.Length && cpRunStart + _runs[runIndex].
Length
<= cp)
1268
cpRunStart += _runs[runIndex++].
Length
;
1687
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
1735
if (
Length
<= 0 || this.Ghost)
1775
CharacterBufferRange charBufferRange = new CharacterBufferRange(CharBufferReference,
Length
);
1823
int underlineLength =
Length
;
1905
trailing +=
Length
;
1918
int dcp =
Length
;
1962
if (dcp >
Length
)
1964
dcp =
Length
;
1982
return (EOT || idealDistance <= 0) ? new CharacterHit() : new CharacterHit(
Length
, 0);
1985
if (
Length
<= 0)
1998
while (dcp <
Length
&& idealDistance >= (Tab ? (currentIdealAdvance = IdealWidth /
Length
)
2005
if (dcp <
Length
)
2012
return new CharacterHit(
Length
- 1, 1);