2 writes to _line
PresentationFramework (2)
MS\Internal\Documents\TextBoxLine.cs (2)
58
_line
= null;
178
_line
= formatter.FormatLine(this, dcp, formatWidth, lineProperties, null, textRunCache);
24 references to _line
PresentationFramework (24)
MS\Internal\Documents\TextBoxLine.cs (24)
57
_line
?.Dispose();
221
_line
.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None));
259
IList<TextBounds> textBounds =
_line
.GetTextBounds(cp, cch);
281
return
_line
.GetCharacterHitFromDistance(distance - delta);
291
return
_line
.GetNextCaretCharacterHit(index);
301
return
_line
.GetPreviousCaretCharacterHit(index);
311
return
_line
.GetBackspaceCaretCharacterHit(index);
322
return
_line
.IsAtCaretCharacterHit(charHit, _dcp);
345
return
_line
.WidthIncludingTrailingWhitespace;
349
return
_line
.Width;
357
internal double Height { get { return
_line
.Height; } }
367
if (
_line
.NewlineLength == 0) { return false; }
370
IList<TextSpan<TextRun>> runs =
_line
.GetTextRunSpans();
380
get { return
_line
.Length - (EndOfParagraph ? 1 : 0); }
386
internal int ContentLength { get { return
_line
.Length -
_line
.NewlineLength; } }
395
return (
_line
.NewlineLength > 0);
496
IList<TextBounds> textBounds =
_line
.GetTextBounds(cp, cch);
525
xOffset = _paragraphWidth -
_line
.Width;
529
xOffset = (_paragraphWidth -
_line
.Width) / 2;
537
xOffset += (
_line
.Width -
_line
.WidthIncludingTrailingWhitespace) / 2;
541
xOffset += (
_line
.Width -
_line
.WidthIncludingTrailingWhitespace);