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)
599
rect.Y += lineIndex *
_lineHeight
;
691
Rect rect = new Rect(contentOffset, lineIndex *
_lineHeight
, _lineMetrics[lineIndex].Width,
_lineHeight
);
1604
if (point.Y >=
_lineHeight
* _lineMetrics.Count)
1619
double lineY =
_lineHeight
* index;
1625
else if (point.Y >= lineY +
_lineHeight
)
1869
lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex *
_lineHeight
);
2013
Rect rect = new Rect(0, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2042
bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex *
_lineHeight
);
2060
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2109
Rect rect = new Rect(0, 0, endOfParaGlyphWidth,
_lineHeight
);
2139
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth,
_lineHeight
);
2155
firstLineIndex = (int)(viewport.Y /
_lineHeight
);
2156
lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) /
_lineHeight
) - 1;
2233
desiredSize.Height +=
_lineHeight
;
2604
desiredSize.Height = _lineMetrics.Count *
_lineHeight
;