2 writes to Length
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1689
out run.
Length
1728
Length
= length;
39 references to Length
PresentationCore (39)
MS\Internal\TextFormatting\SimpleTextLine.cs (39)
140
cp += run.
Length
;
192
cp += run.
Length
;
288
if(run.
Length
> 0)
293
trailing += run.
Length
;
294
_cpLengthEOT += run.
Length
;
303
_cpLength += run.
Length
;
349
t -= run.
Length
;
437
if(run.
Length
> 0)
444
nonHiddenLength += run.
Length
;
465
if(dcp <= run.
Length
)
470
dcp -= run.
Length
;
848
&& ich + run.
Length
> dcp)
854
int afterLast = Math.Min(ich + run.
Length
, dcp + textLength) + _cpFirst;
874
ich += run.
Length
;
902
textRunSpans[i] = new TextSpan<TextRun>(_runs[i].
Length
, _runs[i].TextRun);
922
if (run.
Length
> 0 && !run.Ghost)
953
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
969
run.
Length
,
976
currentCp += run.
Length
;
1225
cpRunStart += _runs[runIndex++].
Length
;
1246
cpRunEnd += _runs[runIndex].
Length
- 1;
1261
cpVisible = cpRunEnd - _runs[runIndex].
Length
+ 1;
1265
cpRunEnd -= _runs[runIndex--].
Length
;
1282
while (runIndex < _runs.Length && cpRunStart + _runs[runIndex].
Length
<= cp)
1284
cpRunStart += _runs[runIndex++].
Length
;
1699
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
1747
if (
Length
<= 0 || this.Ghost)
1787
CharacterBufferRange charBufferRange = new CharacterBufferRange(CharBufferReference,
Length
);
1835
int underlineLength =
Length
;
1917
trailing +=
Length
;
1930
int dcp =
Length
;
1974
if (dcp >
Length
)
1976
dcp =
Length
;
1994
return (EOT || idealDistance <= 0) ? new CharacterHit() : new CharacterHit(
Length
, 0);
1997
if (
Length
<= 0)
2010
while (dcp <
Length
&& idealDistance >= (Tab ? (currentIdealAdvance = IdealWidth /
Length
)
2017
if (dcp <
Length
)
2024
return new CharacterHit(
Length
- 1, 1);