16 writes to Bottom
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Control.cs (2)
11518padding.Bottom = (int)Math.Round(padding.Bottom * dy); 11520margins.Bottom = (int)Math.Round(margins.Bottom * dy);
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (1)
441value.Bottom = Math.Max(0, value.Bottom);
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (2)
143padding.Bottom = Math.Max(0, padding.Bottom); 368padding.Bottom = padding.Right;
winforms\Managed\System\WinForms\Padding.cs (1)
236Bottom = 0;
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
1596padding.Bottom = value;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (9)
163padding.Bottom = 0; 1530cellMargin.Bottom = 0; 1537cellMargin.Bottom = 0; 1603cellMargin.Bottom = 0; 1610cellMargin.Bottom = 0; 1670cellMargin.Bottom = 0; 1677cellMargin.Bottom = 0; 1767cellMargin.Bottom = 0; 1775cellMargin.Bottom = 0;
37 references to Bottom
System.Windows.Forms (35)
winforms\Managed\System\WinForms\ArrangedElement.cs (2)
77Debug.Assert((value.Right >= 0 && value.Left >= 0 && value.Top >= 0 && value.Bottom >=0), "who's setting margin negative?"); 87Debug.Assert((value.Right >= 0 && value.Left >= 0 && value.Top >= 0 && value.Bottom >=0), "who's setting padding negative?");
winforms\Managed\System\WinForms\Control.cs (2)
11518padding.Bottom = (int)Math.Round(padding.Bottom * dy); 11520margins.Bottom = (int)Math.Round(margins.Bottom * dy);
winforms\Managed\System\WinForms\DataGridViewCell.cs (3)
4376rectPadding.Y = bounds.Bottom - cellStyle.Padding.Bottom; 4377rectPadding.Height = cellStyle.Padding.Bottom; 4548borderAndPaddingWidths.Height += cellStyle.Padding.Bottom;
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (3)
429if (value.Left < 0 || value.Right < 0 || value.Top < 0 || value.Bottom < 0) 441value.Bottom = Math.Max(0, value.Bottom); 455Debug.Assert(value.Bottom >= 0);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
753borderAndPaddingWidths.Height += cellStyle.Padding.Bottom;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (2)
143padding.Bottom = Math.Max(0, padding.Bottom); 367temp = padding.Bottom;
winforms\Managed\System\WinForms\Padding.cs (12)
144return Top + Bottom; 183return new Padding(p1.Left + p2.Left, p1.Top + p2.Top, p1.Right + p2.Right, p1.Bottom + p2.Bottom ); 195return new Padding(p1.Left - p2.Left, p1.Top - p2.Top, p1.Right - p2.Right, p1.Bottom - p2.Bottom ); 204return p1.Left == p2.Left && p1.Top == p2.Top && p1.Right == p2.Right && p1.Bottom == p2.Bottom; 223^ WindowsFormsUtils.RotateLeft(Bottom, 24); 228return "{Left=" + Left.ToString(CultureInfo.CurrentCulture) + ",Top=" + Top.ToString(CultureInfo.CurrentCulture) + ",Right=" + Right.ToString(CultureInfo.CurrentCulture) + ",Bottom=" + Bottom.ToString(CultureInfo.CurrentCulture) + "}"; 266Debug.Assert(All == Left && Left == Top && Top == Right && Right == Bottom, "_all is true, but All/Left/Top/Right/Bottom inconsistent."); 363args[nArg++] = intConverter.ConvertToString(context, culture, padding.Bottom); 378new object[] {padding.Left, padding.Top, padding.Right, padding.Bottom});
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
331int y = detailsBtn.Location.Y + detailsBtn.Height + detailsBtn.Margin.Bottom;
winforms\Managed\System\WinForms\ScrollableControl.cs (4)
454scrollMargin.Height += Padding.Bottom; 563ctlBottom += current.Margin.Bottom; 1552|| owner.Padding.Bottom != -1)) { 1587return owner.Padding.Bottom;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4306gripRectangle.Y = displayRect.Top - (Grip.GripThickness + Grip.Margin.Bottom);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
142rect = LayoutUtils.InflateRect(rect, new Padding(0, this.Padding.Top, 0, this.Padding.Bottom));
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
973dragBounds.Height += (nextRowBounds.Height >> 2) + Row.Margin.Bottom + ToolStripPanel.RowsInternal[index + 1].Margin.Top;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (2)
460y = lastBottom - (itemMargin.Bottom + itemSize.Height); 469lastTop = y + itemSize.Height + itemMargin.Bottom;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
550Point bottom = new Point(top.X, this.themePanel.Height - this.themePanel.Margin.Bottom);
System.WorkflowServices (1)
System\Workflow\Activities\Design\GradientPanel.cs (1)
87frameRect.Height += Margin.Top + Margin.Bottom;