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