2 writes to _line
PresentationFramework (2)
MS\Internal\Documents\TextBoxLine.cs (2)
68
_line
= null;
192
_line
= formatter.FormatLine(this, dcp, formatWidth, lineProperties, null, textRunCache);
25 references to _line
PresentationFramework (25)
MS\Internal\Documents\TextBoxLine.cs (25)
65
if (
_line
!= null)
67
_line
.Dispose();
235
_line
.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None));
273
IList<TextBounds> textBounds =
_line
.GetTextBounds(cp, cch);
295
return
_line
.GetCharacterHitFromDistance(distance - delta);
305
return
_line
.GetNextCaretCharacterHit(index);
315
return
_line
.GetPreviousCaretCharacterHit(index);
325
return
_line
.GetBackspaceCaretCharacterHit(index);
336
return
_line
.IsAtCaretCharacterHit(charHit, _dcp);
359
return
_line
.WidthIncludingTrailingWhitespace;
363
return
_line
.Width;
371
internal double Height { get { return
_line
.Height; } }
381
if (
_line
.NewlineLength == 0) { return false; }
384
IList<TextSpan<TextRun>> runs =
_line
.GetTextRunSpans();
394
get { return
_line
.Length - (EndOfParagraph ? 1 : 0); }
400
internal int ContentLength { get { return
_line
.Length -
_line
.NewlineLength; } }
409
return (
_line
.NewlineLength > 0);
510
IList<TextBounds> textBounds =
_line
.GetTextBounds(cp, cch);
539
xOffset = _paragraphWidth -
_line
.Width;
543
xOffset = (_paragraphWidth -
_line
.Width) / 2;
551
xOffset += (
_line
.Width -
_line
.WidthIncludingTrailingWhitespace) / 2;
555
xOffset += (
_line
.Width -
_line
.WidthIncludingTrailingWhitespace);