59 references to Vertical
System.Windows.Forms (59)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
341
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
752
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
763
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
1235
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
539
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
817
valBounds.Height -= cellStyle.Padding.
Vertical
;
911
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
1373
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
2185
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (2)
477
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
837
imgBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (2)
664
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
1037
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
666
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
806
valBounds.Height -= cellStyle.Padding.
Vertical
;
884
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (2)
439
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
733
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (2)
185
int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.
Vertical
;
329
valBounds.Height -= cellStyle.Padding.
Vertical
;
winforms\Managed\System\WinForms\GroupBox.cs (1)
220
return new Rectangle(padding.Left, fontHeight + padding.Top, Math.Max(size.Width - padding.Horizontal, 0), Math.Max(size.Height - fontHeight - padding.
Vertical
, 0));
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (2)
327
rect.Height += padding.
Vertical
;
335
rect.Height -= padding.
Vertical
;
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
846
int minHeight = GetElementSize(element, new Size(currentWidth-margin.Horizontal, 0)).Height + margin.
Vertical
;
winforms\Managed\System\WinForms\Padding.cs (1)
152
return new Size(Horizontal,
Vertical
);
winforms\Managed\System\WinForms\ToolStrip.cs (7)
860
int gripheight = Grip.GripThickness + Grip.Margin.
Vertical
;
2496
maxSize.Height = Math.Max(maxSize.Height, itemMargin.
Vertical
+ prefItemSize.Height);
2550
maxSize.Height += itemMargin.
Vertical
+ preferredSize.Height;
2569
maxSize.Height += overflowItemMargin.
Vertical
+ overflowItem.Bounds.Height;
2578
maxSize.Height += gripMargin.
Vertical
+ toolStrip.Grip.GripThickness;
5488
insertionRect = new Rectangle(item.Bounds.Right, owner.Margin.Top, ToolStrip.insertionBeamWidth, owner.Height- (owner.Margin.
Vertical
)-1);
5491
insertionRect = new Rectangle(item.Bounds.Left, owner.Margin.Top, ToolStrip.insertionBeamWidth, owner.Height - (owner.Margin.
Vertical
) -1);
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
263
preferredSize.Height += DropDownArrowRect.Height + scaledDropDownArrowPadding.
Vertical
;
295
int heightOfDropDown = dropDownArrowSize.Height + scaledDropDownArrowPadding.
Vertical
;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (10)
139
rect.Y += UpScrollButton.Height + UpScrollButton.Margin.
Vertical
;
140
rect.Height -= UpScrollButton.Height + UpScrollButton.Margin.
Vertical
+ DownScrollButton.Height + DownScrollButton.Margin.
Vertical
;
383
this.maxItemSize.Height = Math.Max(maxTextSize.Height + scaledTextPadding.
Vertical
, Math.Max(maxCheckSize.Height + scaledCheckPadding.
Vertical
, maxArrowSize.Height + scaledArrowPadding.
Vertical
));
387
this.maxItemSize.Height = Math.Max(maxImageSize.Height + scaledImagePadding.
Vertical
, maxItemSize.Height);
395
maxTextSize.Height = maxItemSize.Height - scaledTextPadding.
Vertical
;
396
maxImageSize.Height = maxItemSize.Height - scaledImagePadding.
Vertical
;
397
maxCheckSize.Height = maxItemSize.Height - scaledCheckPadding.
Vertical
;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (11)
1455
displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.Margin.
Vertical
+ ToolStripPanel.Padding.
Vertical
) - Row.Margin.
Vertical
;
1458
displayRect.Height = raftingDisplayRectangle.Height - Row.Margin.
Vertical
;
1485
dragBounds.Height += Row.Margin.
Vertical
+ ToolStripPanel.Padding.
Vertical
+5;
1599
if (cellMargin.
Vertical
>= requiredSpace) {
1608
freedSpace += cell.Margin.
Vertical
;
1666
if (cellMargin.
Vertical
>= requiredSpace) {
1675
freedSpace += cell.Margin.
Vertical
;
1959
int spaceOccupiedByCell = cell.Margin.
Vertical
+ cell.Bounds.Height;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (4)
174
currentHeight += itemSize.Height + item.Margin.
Vertical
;
363
itemSize.Height = Math.Max(displayRectangle.Height - itemMargin.
Vertical
, 0);
615
freedSpace += (horizontal) ? itemSize.Width + itemMargin.Horizontal : itemSize.Height + itemMargin.
Vertical
;
633
this.OverflowSpace += (horizontal) ? itemSize.Width + itemMargin.Horizontal : itemSize.Height + itemMargin.
Vertical
;