1 write to _lineHeight
PresentationFramework (1)
MS\Internal\Documents\TextBoxView.cs (1)
2232_lineHeight = lineProperties.CalcLineAdvance(line.Height);
18 references to _lineHeight
PresentationFramework (18)
MS\Internal\Documents\TextBoxView.cs (18)
605rect.Y += lineIndex * _lineHeight; 697Rect rect = new Rect(contentOffset, lineIndex * _lineHeight, _lineMetrics[lineIndex].Width, _lineHeight); 1610if (point.Y >= _lineHeight * _lineMetrics.Count) 1625double lineY = _lineHeight * index; 1631else if (point.Y >= lineY + _lineHeight) 1875lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex * _lineHeight); 2019Rect rect = new Rect(0, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2048bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex * _lineHeight); 2066Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2115Rect rect = new Rect(0, 0, endOfParaGlyphWidth, _lineHeight); 2145Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth, _lineHeight); 2161firstLineIndex = (int)(viewport.Y / _lineHeight); 2162lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) / _lineHeight) - 1; 2239desiredSize.Height += _lineHeight; 2610desiredSize.Height = _lineMetrics.Count * _lineHeight;