1 write to FontHeight
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
892
FontHeight
= -1;
15 references to FontHeight
System.Windows.Forms (15)
System\Windows\Forms\Control.cs (1)
2243
localFontHeight = ParentInternal.
FontHeight
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
632
return Properties.TryGetValue(s_propItemHeight, out int itemHeight) ? itemHeight :
FontHeight
+ 2;
852
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, Font, new Size(short.MaxValue, (int)(
FontHeight
* 1.25)), TextFormatFlags.SingleLine);
863
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 (1)
37
fontHeight:
FontHeight
,
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
745
int height =
FontHeight
;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
571
int boxTop =
FontHeight
/ 2;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
882
int preferredHeight =
FontHeight
+ visualStylesPadding.Vertical;
887
FontHeight
,
910
int height =
FontHeight
;
1119
textSize.Height = Math.Max(textSize.Height,
FontHeight
);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
901
return Math.Max(16,
FontHeight
+ 3);
904
return
FontHeight
+ 3;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
363
int height =
FontHeight
;
379
int preferredHeight =
FontHeight
+ (contentInset * 2);