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