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)
605
rect.Y += lineIndex *
_lineHeight
;
697
Rect rect = new Rect(contentOffset, lineIndex *
_lineHeight
, _lineMetrics[lineIndex].Width,
_lineHeight
);
1610
if (point.Y >=
_lineHeight
* _lineMetrics.Count)
1625
double lineY =
_lineHeight
* index;
1631
else if (point.Y >= lineY +
_lineHeight
)
1875
lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex *
_lineHeight
);
2019
Rect rect = new Rect(0, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2048
bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex *
_lineHeight
);
2066
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2115
Rect rect = new Rect(0, 0, endOfParaGlyphWidth,
_lineHeight
);
2145
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth,
_lineHeight
);
2161
firstLineIndex = (int)(viewport.Y /
_lineHeight
);
2162
lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) /
_lineHeight
) - 1;
2239
desiredSize.Height +=
_lineHeight
;
2610
desiredSize.Height = _lineMetrics.Count *
_lineHeight
;