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)
650
rect.Y += lineIndex *
_lineHeight
;
742
Rect rect = new Rect(contentOffset, lineIndex *
_lineHeight
, _lineMetrics[lineIndex].Width,
_lineHeight
);
1653
if (point.Y >=
_lineHeight
* _lineMetrics.Count)
1668
double lineY =
_lineHeight
* index;
1674
else if (point.Y >= lineY +
_lineHeight
)
1918
lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex *
_lineHeight
);
2062
Rect rect = new Rect(0, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2091
bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex *
_lineHeight
);
2109
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2158
Rect rect = new Rect(0, 0, endOfParaGlyphWidth,
_lineHeight
);
2188
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth,
_lineHeight
);
2204
firstLineIndex = (int)(viewport.Y /
_lineHeight
);
2205
lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) /
_lineHeight
) - 1;
2282
desiredSize.Height +=
_lineHeight
;
2653
desiredSize.Height = _lineMetrics.Count *
_lineHeight
;