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