2 writes to _line
PresentationFramework (2)
MS\Internal\Documents\TextBoxLine.cs (2)
60_line = null; 181_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(); 224_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None)); 262IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 284return _line.GetCharacterHitFromDistance(distance - delta); 294return _line.GetNextCaretCharacterHit(index); 304return _line.GetPreviousCaretCharacterHit(index); 314return _line.GetBackspaceCaretCharacterHit(index); 325return _line.IsAtCaretCharacterHit(charHit, _dcp); 348return _line.WidthIncludingTrailingWhitespace; 352return _line.Width; 360internal double Height { get { return _line.Height; } } 370if (_line.NewlineLength == 0) { return false; } 373IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 383get { return _line.Length - (EndOfParagraph ? 1 : 0); } 389internal int ContentLength { get { return _line.Length - _line.NewlineLength; } } 398return (_line.NewlineLength > 0); 499IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 528xOffset = _paragraphWidth - _line.Width; 532xOffset = (_paragraphWidth - _line.Width) / 2; 540xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 544xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);