6 overrides of MinimumSize
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
666public override Size MinimumSize
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
358public override Size MinimumSize
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
183public override Size MinimumSize
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
289public override Size MinimumSize
System\Windows\Forms\Form.cs (1)
1304public override Size MinimumSize
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
233public override Size MinimumSize
86 writes to MinimumSize
Accessibility_Core_App (1)
CommonControl2.Designer.cs (1)
214this.webBrowser1.MinimumSize = new System.Drawing.Size(23, 23);
PresentationUI (8)
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
157this._tableLayoutPanel1.MinimumSize = new System.Drawing.Size(488, 0);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
205this.textBoxUserName.MinimumSize = new System.Drawing.Size(326, 20);
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
237nameHeader.MinimumSize = new Size(IconWidth + SummaryNameTextWidth, 0); 246intentHeader.MinimumSize = new Size(IntentTextWidth, 0); 255locationHeader.MinimumSize = new Size(LocaleTextWidth, 0); 264signByHeader.MinimumSize = new Size(SignByTextWidth, 0); 282statusHeader.MinimumSize = new Size(IconWidth + SummaryNameTextWidth, 0); 290intentHeader.MinimumSize = new Size(IntentTextWidth, 0);
System.Windows.Forms (13)
System\Windows\Forms\Control.cs (4)
348MinimumSize = DefaultMinimumSize; 9112MinimumSize = DefaultMinimumSize; 9709MinimumSize = Size.Empty; 9789MinimumSize = minSize;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
669set => base.MinimumSize = new Size(value.Width, 0);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
231MinimumSize = new(279, 50),
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
361set => base.MinimumSize = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
186set => base.MinimumSize = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1468MinimumSize = ScaleSize(minSize, dx, dy); 1502MinimumSize = ScaleSize(minSize, factor.Width, factor.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
44MinimumSize = Size.Empty; // consider 1,1
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
292set => base.MinimumSize = new Size(value.Width, 0);
System\Windows\Forms\Panels\SplitterPanel.cs (1)
164set => base.MinimumSize = value;
System.Windows.Forms.Design (17)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
185_buttonOK.MinimumSize = new Size(75, 23); 195_buttonSave.MinimumSize = new Size(75, 23);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
117MinimumSize = new Size(150, 0);
System\Windows\Forms\Design\FormatControl.cs (3)
360tableLayoutPanel1.MinimumSize = new Drawing.Size(tableLayoutPanel1.Width, tableLayoutPanel1.Height); 384nullValueLabel.MinimumSize = new Drawing.Size(minWidth, minHeight); 385secondRowLabel.MinimumSize = new Drawing.Size(minWidth, minHeight);
System\Windows\Forms\Design\FormatControl.Designer.cs (4)
93sampleGroupBox.MinimumSize = new System.Drawing.Size(250, 38); 117secondRowLabel.MinimumSize = new System.Drawing.Size(81, 14); 123nullValueLabel.MinimumSize = new System.Drawing.Size(81, 14); 176MinimumSize = new System.Drawing.Size(390, 237);
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
190_btnOK.MinimumSize = new Drawing.Size(75, 23); 199_btnCancel.MinimumSize = new Drawing.Size(75, 23);
System\Windows\Forms\Design\StyleEditorForm.cs (5)
212_addButton.MinimumSize = new Size(75, 23); 220_removeButton.MinimumSize = new Size(75, 23); 228_insertButton.MinimumSize = new Size(75, 23); 247_okButton.MinimumSize = new Size(75, 23); 256_cancelButton.MinimumSize = new Size(75, 23);
System.Windows.Forms.Tests (47)
System\Windows\Forms\ControlTests.Methods.cs (5)
2423MinimumSize = minimumSize, 7490MinimumSize = minimumSize, 8277MinimumSize = minimumSize, 9098MinimumSize = minimumSize, 11060MinimumSize = minimumSize,
System\Windows\Forms\ControlTests.Properties.cs (40)
2521MinimumSize = minimumSize, 5792MinimumSize = minimumSize, 8030MinimumSize = new Size(100, 100) 8548control.MinimumSize = value; 8555control.MinimumSize = value; 8584MinimumSize = new Size(1, 2) 8595control.MinimumSize = value; 8602control.MinimumSize = value; 8648control.MinimumSize = value; 8655control.MinimumSize = value; 8679control.MinimumSize = value; 8686control.MinimumSize = value; 8699MinimumSize = new Size(1, 2), 8711control.MinimumSize = value; 8718control.MinimumSize = value; 8768control.MinimumSize = value; 8776control.MinimumSize = value; 8808MinimumSize = new Size(1, 2), 8830control.MinimumSize = value; 8839control.MinimumSize = value; 8887control.MinimumSize = value; 8897control.MinimumSize = value; 8929MinimumSize = new Size(1, 2) 8947control.MinimumSize = value; 8957control.MinimumSize = value; 9013control.MinimumSize = value; 9023control.MinimumSize = value; 9089control.MinimumSize = value; 9104control.MinimumSize = value; 9143MinimumSize = new Size(1, 2), 9178control.MinimumSize = value; 9193control.MinimumSize = value; 9217control.MinimumSize = new Size(1, 0); 9221control.MinimumSize = new Size(0, 1); 9225control.MinimumSize = new Size(1, 2); 9241control.MinimumSize = new Size(1, 0); 9245control.MinimumSize = new Size(0, 1); 9249control.MinimumSize = new Size(1, 2); 11177MinimumSize = minimumSize, 13211MinimumSize = minimumSize,
System\Windows\Forms\ToolStripControlHostTests.cs (2)
2723MinimumSize = new Size(10, 20) 2738MinimumSize = new Size(10, 20)
107 references to MinimumSize
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (6)
2495if (value != MinimumSize) 2501Debug.Assert(MinimumSize == value, "Error detected while setting MinimumSize."); 5193if (MaximumSize != Size.Empty || MinimumSize != Size.Empty) 5201newBounds.Size = LayoutUtils.UnionSizes(newBounds.Size, MinimumSize); 9705Size minSize = MinimumSize; 10637return MinimumSize != DefaultMinimumSize;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
961return LayoutUtils.UnionSizes(preferedSize + Padding.Size, MinimumSize);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
668get => base.MinimumSize;
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
360get => base.MinimumSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
185get => base.MinimumSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (4)
1463Size minSize = MinimumSize; 1466if (!MinimumSize.IsEmpty) 1498Size minSize = MinimumSize; 1500if (!MinimumSize.IsEmpty)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
341if (toolStrip.MinimumSize == Size.Empty) 347return toolStrip.MinimumSize;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
291get => base.MinimumSize;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
163get => base.MinimumSize;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
549int minHeight = Math.Max(targetControl.MinimumSize.Height, MINSIZE); 550int minWidth = Math.Max(targetControl.MinimumSize.Width, MINSIZE);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
99Assert.Equal(Size.Empty, control.MinimumSize);
System.Windows.Forms.Tests (84)
System\Windows\Forms\AxHostTests.cs (2)
91Assert.Equal(Size.Empty, control.MinimumSize); 185Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ButtonBaseTests.cs (1)
89Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ButtonTests.cs (1)
92Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\CheckBoxTests.cs (1)
93Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ContainerControlTests.cs (1)
97Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ControlTests.cs (5)
75Assert.Equal(Size.Empty, control.MinimumSize); 164Assert.Equal(Size.Empty, control.MinimumSize); 260Assert.Equal(Size.Empty, control.MinimumSize); 356Assert.Equal(Size.Empty, control.MinimumSize); 452Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ControlTests.Properties.cs (35)
8500Assert.Equal(expected, control.MinimumSize); 8549Assert.Equal(value, control.MinimumSize); 8556Assert.Equal(value, control.MinimumSize); 8596Assert.Equal(value, control.MinimumSize); 8603Assert.Equal(value, control.MinimumSize); 8649Assert.Equal(value, control.MinimumSize); 8656Assert.Equal(value, control.MinimumSize); 8680Assert.Equal(value, control.MinimumSize); 8687Assert.Equal(value, control.MinimumSize); 8712Assert.Equal(value, control.MinimumSize); 8719Assert.Equal(value, control.MinimumSize); 8769Assert.Equal(value, control.MinimumSize); 8777Assert.Equal(value, control.MinimumSize); 8831Assert.Equal(value, control.MinimumSize); 8840Assert.Equal(value, control.MinimumSize); 8888Assert.Equal(value, control.MinimumSize); 8898Assert.Equal(value, control.MinimumSize); 8948Assert.Equal(value, control.MinimumSize); 8958Assert.Equal(value, control.MinimumSize); 9014Assert.Equal(value, control.MinimumSize); 9024Assert.Equal(value, control.MinimumSize); 9090Assert.Equal(value, control.MinimumSize); 9105Assert.Equal(value, control.MinimumSize); 9179Assert.Equal(value, control.MinimumSize); 9194Assert.Equal(value, control.MinimumSize); 9213PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.MinimumSize)]; 9218Assert.Equal(new Size(1, 0), control.MinimumSize); 9222Assert.Equal(new Size(0, 1), control.MinimumSize); 9226Assert.Equal(new Size(1, 2), control.MinimumSize); 9230Assert.Equal(Size.Empty, control.MinimumSize); 9237PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.MinimumSize)]; 9242Assert.Equal(new Size(1, 0), control.MinimumSize); 9246Assert.Equal(new Size(0, 1), control.MinimumSize); 9250Assert.Equal(new Size(1, 2), control.MinimumSize); 9254Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
92Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\DateTimePickerTests.cs (1)
94Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
98Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
91Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\GroupBoxTests.cs (1)
79Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\HScrollBarTests.cs (1)
89Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\LabelTests.cs (1)
84Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ListBoxTests.cs (1)
95Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ListControlTests.cs (1)
85Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ListViewTests.cs (1)
111Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\MdiClientTests.cs (1)
65Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\MenuStripTests.cs (1)
111Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\MonthCalendarTests.cs (1)
99Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\PanelTests.cs (1)
91Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\PictureBoxTests.cs (1)
86Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ProgressBarTests.cs (1)
78Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\PropertyGridTests.cs (1)
126Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\RadioButtonTests.cs (1)
92Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\RichTextBoxTests.cs (1)
99Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ScrollableControlTests.cs (1)
90Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ScrollBarTests.cs (1)
79Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\SplitterTests.cs (1)
77Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\StatusStripTests.cs (1)
110Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\TabControlTests.cs (1)
82Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
99Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
117Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ToolStripPanelTests.cs (1)
93Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\ToolStripTests.cs (5)
127Assert.Equal(Size.Empty, control.MinimumSize); 282Assert.Equal(Size.Empty, control.MinimumSize); 7400Size oldSize = toolStrip.MinimumSize; 7404oldSize.Should().NotBe(toolStrip.MinimumSize); 7405toolStrip.MinimumSize.Should().Be(new Size(-1, -1));
System\Windows\Forms\TreeViewTests.cs (1)
90Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\UserControlTests.cs (1)
97Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\VScrollBarTests.cs (1)
88Assert.Equal(Size.Empty, control.MinimumSize);
System\Windows\Forms\WebBrowserTests.cs (1)
74Assert.Equal(Size.Empty, control.MinimumSize);
TextBoxTests.cs (1)
86Assert.Equal(Size.Empty, control.MinimumSize);
TrackBarTests.cs (1)
81Assert.Equal(Size.Empty, control.MinimumSize);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
101proposedSize = HostUtils.UnionSizes(proposedSize, MinimumSize); 118prefSize = HostUtils.UnionSizes(prefSize, MinimumSize);