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