2 writes to _line
PresentationFramework (2)
MS\Internal\Documents\TextBoxLine.cs (2)
60_line = null; 184_line = formatter.FormatLine(this, dcp, formatWidth, lineProperties, null, textRunCache);
25 references to _line
PresentationFramework (25)
MS\Internal\Documents\TextBoxLine.cs (25)
57if (_line != null) 59_line.Dispose(); 227_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None)); 265IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 287return _line.GetCharacterHitFromDistance(distance - delta); 297return _line.GetNextCaretCharacterHit(index); 307return _line.GetPreviousCaretCharacterHit(index); 317return _line.GetBackspaceCaretCharacterHit(index); 328return _line.IsAtCaretCharacterHit(charHit, _dcp); 351return _line.WidthIncludingTrailingWhitespace; 355return _line.Width; 363internal double Height { get { return _line.Height; } } 373if (_line.NewlineLength == 0) { return false; } 376IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 386get { return _line.Length - (EndOfParagraph ? 1 : 0); } 392internal int ContentLength { get { return _line.Length - _line.NewlineLength; } } 401return (_line.NewlineLength > 0); 502IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 531xOffset = _paragraphWidth - _line.Width; 535xOffset = (_paragraphWidth - _line.Width) / 2; 543xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 547xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);