1 write to FontHeight
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
905
FontHeight
= -1;
19 references to FontHeight
System.Windows.Forms (19)
System\Windows\Forms\Control.cs (1)
2252
localFontHeight = ParentInternal.
FontHeight
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
649
return Properties.TryGetValue(s_propItemHeight, out int itemHeight) ? itemHeight :
FontHeight
+ 2;
869
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, Font, new Size(short.MaxValue, (int)(
FontHeight
* 1.25)), TextFormatFlags.SingleLine);
880
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, Font, new Size(short.MaxValue, (int)(
FontHeight
* 1.25)), TextFormatFlags.SingleLine);
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (5)
43
fontHeight:
FontHeight
,
88
FontHeight =
FontHeight
,
190
+
FontHeight
238
FontHeight
+ ScaleHelper.ScaleToDpi(2, DeviceDpiInternal));
270
int minimumReadableHeight = Math.Max(1,
FontHeight
);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
745
int height =
FontHeight
;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
586
int boxTop =
FontHeight
/ 2;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (5)
885
int preferredHeight =
FontHeight
+ visualStylesPadding.Vertical;
890
FontHeight
,
913
int height =
FontHeight
;
1122
textSize.Height = Math.Max(textSize.Height,
FontHeight
);
2566
int minimumSingleLineClientHeight =
FontHeight
+ ScaleVisualStylesMetric(3);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
785
return Math.Max(16,
FontHeight
+ 3);
788
return
FontHeight
+ 3;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
383
int height =
FontHeight
;