16 writes to bottom
System.Private.Windows.Core (2)
Windows.Win32.RECT.g.cs (1)
55
this.
bottom
= bottom;
Windows\Win32\Foundation\RECT.cs (1)
13
bottom
= size.Height;
System.Windows.Forms (14)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
2010
rect.
bottom
= rect.top + _control.Height;
2015
rect.
bottom
= rect.top + height;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
66
groupRect.
bottom
= Math.Min(listViewBounds.Bottom, groupRect.bottom);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3289
reqResize->rc.
bottom
++;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
45
clientRect.
bottom
+= offsetY;
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
129
rc2.
bottom
= rc2.top + size.Height;
163
rc2.
bottom
= rc.top + 1;
166
rc2.
bottom
= rc.bottom;
175
rc2.
bottom
= rc.bottom;
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
308
dialogSettings.rtMinMargin.
bottom
= margins.Bottom;
317
dialogSettings.rtMargin.
bottom
= margins.Bottom;
325
dialogSettings.rtMargin.
bottom
= Math.Max(dialogSettings.rtMargin.bottom, dialogSettings.rtMinMargin.bottom);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1073
rc.
bottom
+= sz.Height;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1330
bottom
= (rect.bottom > screen.WorkingArea.Bottom) ? screen.WorkingArea.Bottom : rect.bottom
35 references to bottom
System.Private.Windows.Core (2)
Windows.Win32.RECT.g.cs (2)
64
internal readonly int Height => unchecked(this.
bottom
- this.top);
66
internal readonly bool IsEmpty => this.left == 0 && this.top == 0 && this.right == 0 && this.
bottom
== 0;
System.Windows.Forms (32)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
291
clientLocation.Y = Math.Min(clientLocation.Y, clientRectangle.
bottom
);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
460
Point p2 = new(rc.right - rc.left, rc.
bottom
- rc.top);
2042
height = rect.
bottom
- rect.top;
System\Windows\Forms\Control.cs (2)
1590
if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.
bottom
) || PInvoke.GetCapture() == HWND)
10865
clientHeight = rect.
bottom
;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
364
clientLocation.Y = Math.Min(clientLocation.Y, clientRectangle.
bottom
);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
302
if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.
bottom
) || PInvoke.GetCapture() == HWND)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1513
if (r.left <= x && x < r.right && r.top <= y && y < r.
bottom
)
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
66
groupRect.bottom = Math.Min(listViewBounds.Bottom, groupRect.
bottom
);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
803
return new Size(rect.right, rect.
bottom
);
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
129
clientLocation.Y = Math.Min(clientLocation.Y, clientRectangle.
bottom
);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
586
int deltaBottomEdge = Math.Abs(rootHwndClientArea.
bottom
- gripLocation.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
122
absoluteClientRectangle.
bottom
);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
632
visible = (rc.
bottom
> 0 && rc.right > 0 && rc.top < size.Height && rc.left < size.Width);
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
411
RECT posRect = new(0, 0, lprcPosRect->right - lprcPosRect->left, lprcPosRect->
bottom
- lprcPosRect->top);
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (5)
128
rc2.top = rc.top + (((rc.
bottom
- rc.top) - size.Height) >> 1);
150
rc.top + (((rc.
bottom
- rc.top) - SIZE_ICON_Y) >> 1),
166
rc2.bottom = rc.
bottom
;
174
rc2.top = rc.
bottom
- 1;
175
rc2.bottom = rc.
bottom
;
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
100
int y = screen.Y + (screen.Height - r.
bottom
+ r.top) / 3;
System\Windows\Forms\Form.cs (1)
3921
p.Y = (ownerRect.top + ownerRect.
bottom
- s.Height) / 2;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
691
return new Rectangle(topLeftPoint.X, topLeftPoint.Y, clientRectangle.right, clientRectangle.
bottom
);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
453
if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.
bottom
) || PInvoke.GetCapture() == HWND)
System\Windows\Forms\MDI\MDIClient.cs (1)
291
bounds.Height - rect.
bottom
);
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
254
Bottom = data.rtMargin.
bottom
325
dialogSettings.rtMargin.bottom = Math.Max(dialogSettings.rtMargin.
bottom
, dialogSettings.rtMinMargin.
bottom
);
System\Windows\Forms\ToolTip\ToolTip.cs (4)
1321
cursorLocation.Y < rect.top || cursorLocation.Y > rect.
bottom
)
1330
bottom = (rect.
bottom
> screen.WorkingArea.Bottom) ? screen.WorkingArea.Bottom : rect.
bottom
2013
cursorLocation.Y >= r.top && cursorLocation.Y <= r.
bottom
)
System.Windows.Forms.Interop.Tests (1)
RichTextBoxTests.cs (1)
138
Assert.Equal(8989, value.rc.
bottom
);