13 references to Length
PresentationCore (13)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (4)
541
lastRunLength = lsrun.
Length
;
951
int codepointsToNextCaretStop = lsrun.IsHitTestable ? 1 : lsrun.
Length
;
1417
offsetToNextCaretStopIndex = Math.Min(Length, lsrun.
Length
- caretStopIndex + lsrun.OffsetToFirstCp + _cpFirst);
2810
return lsrun.
Length
;
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (2)
331
int cpRun = lastRun.
Length
;
406
lastRunLength = (plsrun >= Plsrun.FormatAnchor ? lsrun.
Length
: 0);
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
246
store.CchEol = lsrun.
Length
;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (6)
1097
if (cp + lsrun.
Length
>= cpLimit)
1103
if (lsrun.Type == Plsrun.Text && cp + lsrun.
Length
> cpLimit)
1106
span.length = lsrun.
Length
;
1109
_lscchUpTo = lscp + lsrun.
Length
;
1121
cp += lsrun.
Length
;
2241
int ichFirst = lsrun.OffsetToFirstChar + lsrun.
Length
- lsrunLength;