2 writes to _lineHeight
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
134_lineHeight = Font.Height + LogicalToDeviceUnits(2); 238_lineHeight = Font.Height + 2;
10 references to _lineHeight
System.Windows.Forms (10)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (10)
67return Height / _lineHeight; 72Size = new(Width, 1 + value * _lineHeight); 133int oldLineHeight = _lineHeight; 135if (oldLineHeight != _lineHeight) 138_descriptionLabel.Location = new(_borderSize, _borderSize + _lineHeight); 160Math.Min(_lineHeight, size.Height), 167Math.Max(0, size.Height - _lineHeight - (ScaleHelper.IsScalingRequirementMet ? LogicalToDeviceUnits(1) : 1)), 209int lines = Math.Max(MinimumLines, newHeight / _lineHeight); 210return 1 + lines * _lineHeight; 240_descriptionLabel.Location = new(_borderSize, _borderSize + _lineHeight);