1 write to _lineHeight
PresentationFramework (1)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
2271
_lineHeight
= lineProperties.CalcLineAdvance(line.Height);
18 references to _lineHeight
PresentationFramework (18)
src\Framework\MS\Internal\Documents\TextBoxView.cs (18)
654
rect.Y += lineIndex *
_lineHeight
;
746
Rect rect = new Rect(contentOffset, lineIndex *
_lineHeight
, _lineMetrics[lineIndex].Width,
_lineHeight
);
1654
if (point.Y >=
_lineHeight
* _lineMetrics.Count)
1669
double lineY =
_lineHeight
* index;
1675
else if (point.Y >= lineY +
_lineHeight
)
1916
lineVisual.Offset = new Vector(horizontalOffset, verticalOffset + lineIndex *
_lineHeight
);
2058
Rect rect = new Rect(0, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2087
bounds = line.GetRangeBounds(startOffset, endOffset - startOffset, 0, lineIndex *
_lineHeight
);
2105
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex *
_lineHeight
, endOfParaGlyphWidth,
_lineHeight
);
2154
Rect rect = new Rect(0, 0, endOfParaGlyphWidth,
_lineHeight
);
2184
Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth,
_lineHeight
);
2200
firstLineIndex = (int)(viewport.Y /
_lineHeight
);
2201
lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) /
_lineHeight
) - 1;
2278
desiredSize.Height +=
_lineHeight
;
2649
desiredSize.Height = _lineMetrics.Count *
_lineHeight
;