39 references to Height
System.Windows.Forms (22)
System\Windows\Forms\Control.cs (5)
1936Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 2056return Properties.AddValue(s_fontHeightProperty, font.Height); 2070localFontHeight = Font.Height; 3009Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 10812Properties.AddValue(s_fontHeightProperty, scaledFont.Height);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
157s_defaultHeight = Control.DefaultFont.Height + 9;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
150_fontHeight = Font.Height; 157_fontHeight = Font.Height;
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (3)
208boxBounds.Y += font.Height / 2; 209boxBounds.Height -= font.Height / 2; 314boxTop += font.Height / 2;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
151return Font.Height + _listItemBordersHeight; 478if (Font.Height < 0) 640float tabDistance = 3.6f * Font.Height; // about 7 characters
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
367s_defaultListBoxItemHeight = DefaultFont.Height;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5074rectInvalid.Inflate(1, Font.Height + 1);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
95int lineHeight = (int)(1.5 * Font.Height);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
134_lineHeight = Font.Height + LogicalToDeviceUnits(2); 238_lineHeight = Font.Height + 2;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
460_cachedRowHeight = Font.Height + 2;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
258int fontHeight = Owner.Font.Height;
System\Windows\Forms\Form.cs (1)
3778float height = font.Height;
System.Windows.Forms.Design (17)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (3)
204_listBox.ItemHeight = Font.Height + SystemInformation.BorderSize.Width * 2; 229int w = 4 + charactersInNumber * (Font.Height / 2); 581int w = 4 + charactersInNumber * (Font.Height / 2);
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
242Math.Min(Font.Height * 10, workingArea.Height / 3));
System\Drawing\Design\ColorEditor.ColorUI.cs (4)
95_lbSystem.ItemHeight = Font.Height + 2; 96_lbCommon.ItemHeight = Font.Height + 2; 263lb.ItemHeight = lb.Font.Height; 268lb.ItemHeight = lb.Font.Height;
System\Drawing\Design\CursorEditor.CursorUI.cs (2)
25ItemHeight = Math.Max(4 + Cursors.Default.Size.Height, Font.Height); 77e.Graphics.DrawString(text, font, brushText, e.Bounds.X + cursorWidth + 4, e.Bounds.Y + (e.Bounds.Height - font.Height) / 2);
System\Windows\Forms\Design\ControlDesigner.cs (1)
2275Math.Max(SystemInformation.ToolWindowCaptionHeight - SystemInformation.BorderSize.Height - 2, Control.Font.Height),
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
47_sampleDataGridViewSelected.Size = new Drawing.Size(100, Font.Height + 9); 48_sampleDataGridView.Size = new Drawing.Size(100, Font.Height + 9);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
809_selectedColumns.ItemHeight = Font.Height + OWNERDRAWVERTICALBUFFER;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
437_newItemTypes.ItemHeight = Math.Max(s_iconHeight, Font.Height); 549dropDownHeight += (Font.Height + s_separatorHeight) + 2 * s_imagePaddingY; 637e.ItemHeight = Math.Max(s_iconHeight + separator, measureFont.Height + separator) + 2 * s_imagePaddingY;