13 references to Length
PresentationCore (13)
MS\Internal\TextFormatting\FullTextLine.cs (4)
518
lastRunLength = lsrun.
Length
;
918
int codepointsToNextCaretStop = lsrun.IsHitTestable ? 1 : lsrun.
Length
;
1384
offsetToNextCaretStopIndex = Math.Min(Length, lsrun.
Length
- caretStopIndex + lsrun.OffsetToFirstCp + _cpFirst);
2748
return lsrun.
Length
;
MS\Internal\TextFormatting\FullTextState.cs (2)
311
int cpRun = lastRun.
Length
;
386
lastRunLength = (plsrun >= Plsrun.FormatAnchor ? lsrun.
Length
: 0);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
227
store.CchEol = lsrun.
Length
;
MS\Internal\TextFormatting\TextStore.cs (6)
1086
if (cp + lsrun.
Length
>= cpLimit)
1092
if (lsrun.Type == Plsrun.Text && cp + lsrun.
Length
> cpLimit)
1095
span.length = lsrun.
Length
;
1098
_lscchUpTo = lscp + lsrun.
Length
;
1110
cp += lsrun.
Length
;
2232
int ichFirst = lsrun.OffsetToFirstChar + lsrun.
Length
- lsrunLength;