2 writes to _line
PresentationFramework (2)
MS\Internal\Documents\TextBoxLine.cs (2)
61_line = null; 185_line = formatter.FormatLine(this, dcp, formatWidth, lineProperties, null, textRunCache);
25 references to _line
PresentationFramework (25)
MS\Internal\Documents\TextBoxLine.cs (25)
58if (_line != null) 60_line.Dispose(); 228_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None)); 266IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 288return _line.GetCharacterHitFromDistance(distance - delta); 298return _line.GetNextCaretCharacterHit(index); 308return _line.GetPreviousCaretCharacterHit(index); 318return _line.GetBackspaceCaretCharacterHit(index); 329return _line.IsAtCaretCharacterHit(charHit, _dcp); 352return _line.WidthIncludingTrailingWhitespace; 356return _line.Width; 364internal double Height { get { return _line.Height; } } 374if (_line.NewlineLength == 0) { return false; } 377IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 387get { return _line.Length - (EndOfParagraph ? 1 : 0); } 393internal int ContentLength { get { return _line.Length - _line.NewlineLength; } } 402return (_line.NewlineLength > 0); 503IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 532xOffset = _paragraphWidth - _line.Width; 536xOffset = (_paragraphWidth - _line.Width) / 2; 544xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 548xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);