5 writes to ClientSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1462ClientSize = ScaleSize(clientSize, dx, dy);
System\Windows\Forms\Form.cs (1)
730set => base.ClientSize = value;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
49ClientSize = panelSize;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
173ClientSize = new Size(ClientSize.Width + requestedDelta, MinimumSize.Height);
System\Windows\Forms\Design\UserControlDocumentDesigner.cs (1)
29set => Control.ClientSize = value;
38 references to ClientSize
System.Windows.Forms (23)
System\Windows\Forms\Control.cs (1)
8834Rectangle clientBounds = new(clientOffset, ClientSize);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
18812Invalidate(new Rectangle(new Point(-pt.X, ColumnHeadersHeight), new Size(-step, ClientSize.Height))); 18822Invalidate(new Rectangle(new Point(ClientSize.Width - (pt.X - rect.Right) - step, ColumnHeadersHeight), 18823new Size(step, ClientSize.Height))); 18830new Size(-step, ClientSize.Width))); 18837new Size(ClientSize.Width, ClientSize.Height - (pt.Y - rect.Bottom) - step)));
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
146Size size = ClientSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
61Size size = ClientSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
150Size size = ClientSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1879Size size = ClientSize;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
668Size clientSize = parent.ClientSize;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
384noMansLand.X += ClientSize.Width + 1; 385noMansLand.Y += ClientSize.Height + 1;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1459Size clientSize = ClientSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
193_noMansLand.X += ToolStrip.ClientSize.Width + 1; 194_noMansLand.Y += ToolStrip.ClientSize.Height + 1;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
631Size size = tv.ClientSize;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
835Rectangle clientArea = new(Point.Empty, ClientSize);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (3)
270int half_height = ClientSize.Height / 2; 277ClientSize.Height); 345if (half_height != (ClientSize.Height + 1) / 2)
System\Windows\Forms\Form.cs (1)
729get => base.ClientSize;
System.Windows.Forms.Design (15)
System\ComponentModel\Design\ByteViewer.cs (1)
549int rows = (ClientSize.Height - 2 * (BORDER_GAP + INSET_GAP)) / CELL_HEIGHT;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (5)
172int requestedDelta = Math.Min((requestedSize.Width - ClientSize.Width), maxDelta); 173ClientSize = new Size(ClientSize.Width + requestedDelta, MinimumSize.Height); 383return WatermarkSize.Width < ClientSize.Width; 417new RectangleF(0.0f, 0.0f, ClientSize.Width, ClientSize.Height),
System\Windows\Forms\Design\CommandSet.cs (3)
1317int centerOfParentX = (viewParent.ClientSize.Width) / 2; 1318int centerOfParentY = (viewParent.ClientSize.Height) / 2; 3284Size parentSize = parentControl.ClientSize;
System\Windows\Forms\Design\ControlDesigner.cs (2)
2130if (Control is not null && Control.Size != Control.ClientSize && Control.Parent is { } parent) 2134Rectangle clientAreaScreenBounds = new(Control.PointToScreen(Point.Empty), Control.ClientSize);
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
919int parentHeight = parent.ClientSize.Height; 920int parentWidth = parent.ClientSize.Width;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1073Rectangle checkBounds = new(controlLoc, Control.ClientSize); // Can't use Control.Size since that will include any scrollbar
System\Windows\Forms\Design\UserControlDocumentDesigner.cs (1)
28get => Control.ClientSize;