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