2 writes to lineHeight
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (2)
123
lineHeight
= (int)Font.Height + LogicalToDeviceUnits(2);
234
lineHeight
= (int)Font.Height + 2;
8 references to lineHeight
System.Windows.Forms (8)
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (8)
70
return Height/
lineHeight
;
74
Size = new Size(Width, 1 + value *
lineHeight
);
126
m_labelDesc.Location = new Point(cBorder, cBorder +
lineHeight
);
150
Math.Min(
lineHeight
, size.Height),
156
Math.Max(0, size.Height -
lineHeight
- (DpiHelper.EnableDpiChangedHighDpiImprovements ? LogicalToDeviceUnits(1) : 1)),
192
int lines = Math.Max(MIN_LINES, cyNew/
lineHeight
);
193
return 1 + lines*
lineHeight
;
236
m_labelDesc.Location = new Point(cBorder, cBorder +
lineHeight
);