1 write to _lineHeight
PresentationFramework (1)
MS\Internal\Documents\TextBoxView.cs (1)
2275_lineHeight = lineProperties.CalcLineAdvance(line.Height);
18 references to _lineHeight
PresentationFramework (18)
MS\Internal\Documents\TextBoxView.cs (18)
650rect.Y += lineIndex * _lineHeight; 742Rect rect = new Rect(contentOffset, lineIndex * _lineHeight, _lineMetrics[lineIndex].Width, _lineHeight); 1653if (point.Y >= _lineHeight * _lineMetrics.Count) 1668double lineY = _lineHeight * index; 1674else if (point.Y >= lineY + _lineHeight) 1918lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex * _lineHeight); 2062Rect rect = new Rect(0, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2091bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex * _lineHeight); 2109Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2158Rect rect = new Rect(0, 0, endOfParaGlyphWidth, _lineHeight); 2188Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth, _lineHeight); 2204firstLineIndex = (int)(viewport.Y / _lineHeight); 2205lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) / _lineHeight) - 1; 2282desiredSize.Height += _lineHeight; 2653desiredSize.Height = _lineMetrics.Count * _lineHeight;