2 writes to _lineHeight
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
132
_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)
65
return Height /
_lineHeight
;
70
Size = new(Width, 1 + value *
_lineHeight
);
131
int oldLineHeight =
_lineHeight
;
133
if (oldLineHeight !=
_lineHeight
)
136
_descriptionLabel.Location = new(_borderSize, _borderSize +
_lineHeight
);
158
Math.Min(
_lineHeight
, size.Height),
165
Math.Max(0, size.Height -
_lineHeight
- (ScaleHelper.IsScalingRequirementMet ? LogicalToDeviceUnits(1) : 1)),
209
int lines = Math.Max(MinimumLines, newHeight /
_lineHeight
);
210
return 1 + lines *
_lineHeight
;
240
_descriptionLabel.Location = new(_borderSize, _borderSize +
_lineHeight
);