30 references to Height
System.Windows.Forms (29)
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
257return Font.Height + scaledListItemBordersHeight; 642if (Font.Height < 0) 776float tabDistance = 3.6f * Font.Height; // about 7 characters
winforms\Managed\System\WinForms\Control.cs (4)
2559Properties.SetInteger(PropFontHeight, (value == null) ? -1 : value.Height); 2594Properties.SetInteger(PropFontHeight, newFont.Height); 2676fontHeight = font.Height; 2691localFontHeight = Font.Height;
winforms\Managed\System\WinForms\DataGrid.cs (6)
116private static int defaultFontHeight = Control.DefaultFont.Height; 8505fontHeight = Font.Height; 8506linkFontHeight = LinkFont.Height; 8507captionFontHeight = CaptionFont.Height; 8510headerFontHeight = this.HeaderFont.Height; 8512headerFontHeight = myGridTable.HeaderFont.Height;
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
467Size textSize = new Size((int) g.MeasureString(text, this.Font).Width + 2, this.Font.Height + 2);
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
344textRegionHeight = (int)dataGrid.Font.Height + 2;
winforms\Managed\System\WinForms\DataGridTable.cs (1)
85internal static readonly int defaultFontHeight = defaultFont.Height;
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
47this.Thickness = Control.DefaultFont.Height + 9;
winforms\Managed\System\WinForms\Form.cs (1)
4102float height = font.Height;
winforms\Managed\System\WinForms\GroupBox.cs (2)
205fontHeight = (int)Font.Height; 213fontHeight = (int)Font.Height;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (3)
186boxBounds.Y += font.Height / 2; 187boxBounds.Height -= font.Height / 2; 284int boxTop = bounds.Top + font.Height / 2;
winforms\Managed\System\WinForms\ListView.cs (1)
4730rectInvalid.Inflate(1, this.Font.Height + 1);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (2)
123lineHeight = (int)Font.Height + LogicalToDeviceUnits(2); 234lineHeight = (int)Font.Height + 2;
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
97int lineHeight = (int)(1.5 * Font.Height);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
540cachedRowHeight = (int)Font.Height + 2;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
850this.linkLblName.MaximumSize = new Size(0, this.Font.Height + 2);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
674Rectangle descriptionRectangle = (description.Length > 0) ? new Rectangle(Point.Empty, new Size(AmbientTheme.DragImageTextSize.Width, parentView.Font.Height + 2)) : Rectangle.Empty;