2 writes to Length
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1704
out run.
Length
1743
Length
= length;
39 references to Length
PresentationCore (39)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (39)
143
cp += run.
Length
;
195
cp += run.
Length
;
292
if(run.
Length
> 0)
297
trailing += run.
Length
;
298
_cpLengthEOT += run.
Length
;
307
_cpLength += run.
Length
;
353
t -= run.
Length
;
441
if(run.
Length
> 0)
448
nonHiddenLength += run.
Length
;
469
if(dcp <= run.
Length
)
474
dcp -= run.
Length
;
858
&& ich + run.
Length
> dcp)
864
int afterLast = Math.Min(ich + run.
Length
, dcp + textLength) + _cpFirst;
884
ich += run.
Length
;
912
textRunSpans[i] = new TextSpan<TextRun>(_runs[i].
Length
, _runs[i].TextRun);
936
if (run.
Length
> 0 && !run.Ghost)
967
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
983
run.
Length
,
990
currentCp += run.
Length
;
1239
cpRunStart += _runs[runIndex++].
Length
;
1260
cpRunEnd += _runs[runIndex].
Length
- 1;
1275
cpVisible = cpRunEnd - _runs[runIndex].
Length
+ 1;
1279
cpRunEnd -= _runs[runIndex--].
Length
;
1296
while (runIndex < _runs.Length && cpRunStart + _runs[runIndex].
Length
<= cp)
1298
cpRunStart += _runs[runIndex++].
Length
;
1714
new CharacterBufferRange(run.CharBufferReference, run.
Length
),
1767
if (
Length
<= 0 || this.Ghost)
1807
CharacterBufferRange charBufferRange = new CharacterBufferRange(CharBufferReference,
Length
);
1855
int underlineLength =
Length
;
1937
trailing +=
Length
;
1950
int dcp =
Length
;
1994
if (dcp >
Length
)
1996
dcp =
Length
;
2014
return (EOT || idealDistance <= 0) ? new CharacterHit() : new CharacterHit(
Length
, 0);
2017
if (
Length
<= 0)
2030
while (dcp <
Length
&& idealDistance >= (Tab ? (currentIdealAdvance = IdealWidth /
Length
)
2037
if (dcp <
Length
)
2044
return new CharacterHit(
Length
- 1, 1);