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)
65if (_line != null) 67_line.Dispose(); 235_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None)); 273IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 295return _line.GetCharacterHitFromDistance(distance - delta); 305return _line.GetNextCaretCharacterHit(index); 315return _line.GetPreviousCaretCharacterHit(index); 325return _line.GetBackspaceCaretCharacterHit(index); 336return _line.IsAtCaretCharacterHit(charHit, _dcp); 359return _line.WidthIncludingTrailingWhitespace; 363return _line.Width; 371internal double Height { get { return _line.Height; } } 381if (_line.NewlineLength == 0) { return false; } 384IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 394get { return _line.Length - (EndOfParagraph ? 1 : 0); } 400internal int ContentLength { get { return _line.Length - _line.NewlineLength; } } 409return (_line.NewlineLength > 0); 510IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 539xOffset = _paragraphWidth - _line.Width; 543xOffset = (_paragraphWidth - _line.Width) / 2; 551xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 555xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);