2 writes to _line
PresentationFramework (2)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (2)
70_line = null; 194_line = formatter.FormatLine(this, dcp, formatWidth, lineProperties, null, textRunCache);
25 references to _line
PresentationFramework (25)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (25)
67if (_line != null) 69_line.Dispose(); 237_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None)); 275IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 297return _line.GetCharacterHitFromDistance(distance - delta); 307return _line.GetNextCaretCharacterHit(index); 317return _line.GetPreviousCaretCharacterHit(index); 327return _line.GetBackspaceCaretCharacterHit(index); 338return _line.IsAtCaretCharacterHit(charHit, _dcp); 361return _line.WidthIncludingTrailingWhitespace; 365return _line.Width; 373internal double Height { get { return _line.Height; } } 383if (_line.NewlineLength == 0) { return false; } 386IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 396get { return _line.Length - (EndOfParagraph ? 1 : 0); } 402internal int ContentLength { get { return _line.Length - _line.NewlineLength; } } 411return (_line.NewlineLength > 0); 512IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 541xOffset = _paragraphWidth - _line.Width; 545xOffset = (_paragraphWidth - _line.Width) / 2; 553xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 557xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);