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