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