2 writes to _line
PresentationFramework (2)
MS\Internal\Documents\TextBoxLine.cs (2)
58_line = null; 178_line = formatter.FormatLine(this, dcp, formatWidth, lineProperties, null, textRunCache);
24 references to _line
PresentationFramework (24)
MS\Internal\Documents\TextBoxLine.cs (24)
57_line?.Dispose(); 221_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None)); 259IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 281return _line.GetCharacterHitFromDistance(distance - delta); 291return _line.GetNextCaretCharacterHit(index); 301return _line.GetPreviousCaretCharacterHit(index); 311return _line.GetBackspaceCaretCharacterHit(index); 322return _line.IsAtCaretCharacterHit(charHit, _dcp); 345return _line.WidthIncludingTrailingWhitespace; 349return _line.Width; 357internal double Height { get { return _line.Height; } } 367if (_line.NewlineLength == 0) { return false; } 370IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 380get { return _line.Length - (EndOfParagraph ? 1 : 0); } 386internal int ContentLength { get { return _line.Length - _line.NewlineLength; } } 395return (_line.NewlineLength > 0); 496IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 525xOffset = _paragraphWidth - _line.Width; 529xOffset = (_paragraphWidth - _line.Width) / 2; 537xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 541xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);