1 write to _lineHeight
PresentationFramework (1)
MS\Internal\Documents\TextBoxView.cs (1)
2226_lineHeight = lineProperties.CalcLineAdvance(line.Height);
18 references to _lineHeight
PresentationFramework (18)
MS\Internal\Documents\TextBoxView.cs (18)
599rect.Y += lineIndex * _lineHeight; 691Rect rect = new Rect(contentOffset, lineIndex * _lineHeight, _lineMetrics[lineIndex].Width, _lineHeight); 1604if (point.Y >= _lineHeight * _lineMetrics.Count) 1619double lineY = _lineHeight * index; 1625else if (point.Y >= lineY + _lineHeight) 1869lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex * _lineHeight); 2013Rect rect = new Rect(0, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2042bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex * _lineHeight); 2060Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2109Rect rect = new Rect(0, 0, endOfParaGlyphWidth, _lineHeight); 2139Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth, _lineHeight); 2155firstLineIndex = (int)(viewport.Y / _lineHeight); 2156lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) / _lineHeight) - 1; 2233desiredSize.Height += _lineHeight; 2604desiredSize.Height = _lineMetrics.Count * _lineHeight;