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