Implemented interface member:
property
Bounds
System.Windows.Forms.Layout.IArrangedElement.Bounds
39 writes to Bounds
System.Windows.Forms (37)
winforms\Managed\System\WinForms\AxHost.cs (3)
1777
Bounds
= b;
3617
Bounds
= new Rectangle(location.X, location.Y, ocxExtent.Width, ocxExtent.Height);
3621
Bounds
= new Rectangle(location.X, location.Y, newSize.Width, newSize.Height);
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
66
contextMenuStrip.
Bounds
= Bounds;
winforms\Managed\System\WinForms\Control.cs (1)
18369
control.
Bounds
= posRect;
winforms\Managed\System\WinForms\DataGrid.cs (3)
6041
col.TextBox.
Bounds
= editBounds;
6826
horizScrollBar.
Bounds
= new Rectangle(alignToRight ? layout.Inside.X + layout.ResizeBoxRect.Width : layout.Inside.X,
6844
vertScrollBar.
Bounds
= new Rectangle(alignToRight ? layout.Data.X : layout.Data.Right,
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (4)
267
edit.
Bounds
= Rectangle.Empty;
419
edit.
Bounds
= Rectangle.Empty;
489
edit.
Bounds
= bounds;
496
edit.
Bounds
= Rectangle.Empty;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
10495
this.horizScrollBar.
Bounds
= new Rectangle(
10536
this.vertScrollBar.
Bounds
= new Rectangle(
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (8)
270
pageHost.
Bounds
= pageHostBounds;
271
grayStrip.
Bounds
= new Rectangle(pageHostBounds.X, BUTTON_PAD,
278
page.GetControl().
Bounds
= pageBounds;
289
selector.
Bounds
= new Rectangle(BUTTON_PAD, BUTTON_PAD,
297
helpButton.
Bounds
= bounds;
304
applyButton.
Bounds
= bounds;
311
cancelButton.
Bounds
= bounds;
318
okButton.
Bounds
= bounds;
winforms\Managed\System\WinForms\Form.cs (2)
3456
Bounds
= bounds;
3470
Bounds
= bounds;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
2996
toolStrip.
Bounds
= toolStripBounds;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
2230
ScrollBar.
Bounds
= boundsScroll;
5870
this.
Bounds
= newBounds;
winforms\Managed\System\WinForms\Splitter.cs (1)
467
spd.target.
Bounds
= bounds;
winforms\Managed\System\WinForms\StatusStrip.cs (1)
281
RTLGrip.
Bounds
= SizeGripBounds;
winforms\Managed\System\WinForms\TabControl.cs (3)
1728
pages[i].
Bounds
= rect;
1920
tabPages[index].
Bounds
= DisplayRectangle;
2758
tabPage.
Bounds
= owner.DisplayRectangle;
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
441
this.dropDown.
Bounds
= GetDropDownBounds(DropDownDirection);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
829
this.
Bounds
= bounds;
winforms\Managed\System\WinForms\UpDownBase.cs (2)
1136
upDownEdit.
Bounds
= upDownEditBounds;
1139
upDownButtons.
Bounds
= upDownButtonsBounds;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
852
Bounds
= new Rectangle(location.X, location.Y, extent.Width, extent.Height);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\WorkflowView.cs (2)
1273
hScrollBar.
Bounds
= new Rectangle(0, Math.Max(0, Height - SystemInformation.HorizontalScrollBarHeight), Math.Max(Width - ((vScrollBar.Visible) ? SystemInformation.VerticalScrollBarWidth : 0), 0), SystemInformation.HorizontalScrollBarHeight);
1276
vScrollBar.
Bounds
= new Rectangle(Math.Max(0, Width - SystemInformation.VerticalScrollBarWidth), 0, SystemInformation.VerticalScrollBarWidth, Math.Max(Height - ((hScrollBar.Visible) ? SystemInformation.HorizontalScrollBarHeight : 0), 0));
94 references to Bounds
System.Windows.Forms (94)
winforms\Managed\System\WinForms\AxHost.cs (4)
1576
Rectangle oldBounds =
Bounds
;
1772
Rectangle b =
Bounds
;
2470
GetOleObject().DoVerb(verb, IntPtr.Zero, oleSite, -1, parent != null ? parent.Handle : IntPtr.Zero, FillInRect(new NativeMethods.COMRECT(),
Bounds
));
4270
FillInRect(lprcPosRect, host.
Bounds
);
winforms\Managed\System\WinForms\ComboBox.cs (1)
3760
using (WindowsRegion wr = new WindowsRegion(this.
Bounds
)) {
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
66
contextMenuStrip.Bounds =
Bounds
;
winforms\Managed\System\WinForms\Control.cs (6)
5792
originalBounds = this.
Bounds
;
5838
if (this.
Bounds
!= originalBounds) {
10394
child.PrintToMetaFileRecursive(hDC, lParam, child.
Bounds
);
11494
Rectangle rawScaledBounds = GetScaledBounds(
Bounds
, factor, specified);
18261
Rectangle bounds = control.
Bounds
;
18359
Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "Old Control Bounds: " + control.
Bounds
);
winforms\Managed\System\WinForms\DataGrid.cs (2)
6078
this.ColumnStartedEditing(editingControl.
Bounds
);
8891
Rectangle fixupRect = vertScrollBar.
Bounds
;
winforms\Managed\System\WinForms\DataGridTextBox.cs (3)
57
dataGrid.ColumnStartedEditing(
Bounds
);
93
dataGrid.ColumnStartedEditing(
Bounds
);
230
dataGrid.ColumnStartedEditing(
Bounds
);
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
407
this.DataGridTableStyle.DataGrid.ColumnStartedEditing(edit.
Bounds
);
winforms\Managed\System\WinForms\DataGridView.cs (4)
2768
return this.editingControl.
Bounds
.Contains(ptMouse);
2781
return this.editingPanel.
Bounds
.Contains(ptMouse);
2794
if (this.vertScrollBar.
Bounds
.Contains(ptMouse))
2801
return this.horizScrollBar.
Bounds
.Contains(ptMouse);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
9386
if (this.horizScrollBar != null && this.horizScrollBar.Visible && this.horizScrollBar.
Bounds
.Contains(x, y))
9392
if (this.vertScrollBar != null && this.vertScrollBar.Visible && this.vertScrollBar.
Bounds
.Contains(x, y))
10614
this.editingPanel.
Bounds
.IntersectsWith(lastSplitBarRect))
10679
this.editingPanel.
Bounds
.IntersectsWith(lastSplitBarRect))
winforms\Managed\System\WinForms\Form.cs (4)
1167
Rectangle bounds =
Bounds
;
1748
Rectangle bounds = this.
Bounds
;
2214
return
Bounds
;
3436
Rectangle bounds =
Bounds
;
winforms\Managed\System\WinForms\MDIClient.cs (4)
211
Rectangle bounds =
Bounds
;
240
Rectangle oldBounds =
Bounds
;
242
Rectangle newBounds =
Bounds
;
297
Rectangle bounds =
Bounds
;
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
1952
Rectangle oldBounds =
Bounds
;
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
2272
Rectangle rectangle = gridView.
Bounds
;
2329
Rectangle rectTarget = target.
Bounds
;
3198
Rectangle rectDoc = targetMove.
Bounds
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (5)
1045
Rectangle rectCur = ctl.
Bounds
;
2226
Rectangle boundsScroll = ScrollBar.
Bounds
;
5793
dragBaseRect =
Bounds
;
5832
Rectangle newBounds =
Bounds
;
5867
if (newBounds !=
Bounds
) {
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
556
Rectangle bounds = current.
Bounds
;
951
Rectangle bounds = activeControl.
Bounds
;
winforms\Managed\System\WinForms\Splitter.cs (6)
450
Rectangle bounds = spd.target.
Bounds
;
664
Rectangle r =
Bounds
;
665
Rectangle bounds = splitTarget.
Bounds
;
695
Rectangle r = target.
Bounds
;
721
initTargetSize = target.
Bounds
.Width;
725
initTargetSize = target.
Bounds
.Height;
winforms\Managed\System\WinForms\StatusBar.cs (2)
898
Rectangle rect =
Bounds
;
1101
Rectangle bounds =
Bounds
;
winforms\Managed\System\WinForms\TabControl.cs (1)
413
Rectangle bounds =
Bounds
;
winforms\Managed\System\WinForms\ToolBar.cs (1)
1455
Rectangle bounds =
Bounds
;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4432
Debug.WriteLineIf(LayoutDebugSwitch.TraceVerbose, "Setting Displayed Items: Current bounds: " + this.
Bounds
.ToString());
winforms\Managed\System\WinForms\ToolStripControlHost.cs (4)
54
SetBounds(c.
Bounds
);
473
specifiedBounds = control.
Bounds
;
483
Rectangle bounds = control.
Bounds
;
820
if (bounds != control.
Bounds
) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
726
return Screen.GetWorkingArea(this.
Bounds
).Size - this.Padding.Size;
1443
Rectangle bounds = this.
Bounds
;
1934
Rectangle bounds = this.
Bounds
;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
786
int height = GetDropDownBounds(this.
Bounds
).Height;
winforms\Managed\System\WinForms\ToolStripPanel.cs (16)
1276
Rectangle intersection = c1.
Bounds
;
1277
intersection.Intersect(c2.
Bounds
);
1286
c1.
Bounds
,
1293
c2.
Bounds
,
1574
if (one.
Bounds
.X < two.
Bounds
.X) {
1578
if (one.
Bounds
.X == two.
Bounds
.X) {
1579
if (one.
Bounds
.Y < two.
Bounds
.Y) {
1596
if (one.
Bounds
.Y < two.
Bounds
.Y) {
1600
if (one.
Bounds
.Y == two.
Bounds
.Y) {
1601
if (one.
Bounds
.X < two.
Bounds
.X) {
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
114
Rectangle bounds = ToolStrip.
Bounds
;
winforms\Managed\System\WinForms\TrackBar.cs (1)
460
Rectangle r =
Bounds
;
winforms\Managed\System\WinForms\TreeView.cs (1)
2949
else if (tn != null && tn.Bounds.Right > this.
Bounds
.Right) {
winforms\Managed\System\WinForms\UpDownBase.cs (2)
802
Rectangle editBounds = upDownEdit.
Bounds
;
1911
Rectangle bounds = ((UpDownButtons)parent.Owner).
Bounds
;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
745
new NativeMethods.COMRECT(this.
Bounds
));
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (8)
231
this.OnActiveXRectChange(new NativeMethods.COMRECT(this.Host.
Bounds
));
287
this.OnActiveXRectChange(new NativeMethods.COMRECT(this.Host.
Bounds
));
306
lprcPosRect.left = this.Host.
Bounds
.X;
307
lprcPosRect.top = this.Host.
Bounds
.Y;
308
lprcPosRect.right = this.Host.
Bounds
.Width + this.Host.
Bounds
.X;
309
lprcPosRect.bottom = this.Host.
Bounds
.Height + this.Host.
Bounds
.Y;