22 writes to AutoScrollMinSize
DesignSurface (2)
MainForm.MyScrollableControl.cs (1)
18AutoScrollMinSize = new Size(800, 800);
MainForm.MyUserControl.cs (1)
18AutoScrollMinSize = new(1, 1);
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
247set => base.AutoScrollMinSize = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
81set => base.AutoScrollMinSize = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
80set => base.AutoScrollMinSize = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
95set => base.AutoScrollMinSize = value;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
103set => base.AutoScrollMinSize = value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
149set => base.AutoScrollMinSize = value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
510set => base.AutoScrollMinSize = value;
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
937private void ResetAutoScrollMinSize() => AutoScrollMinSize = Size.Empty;
System.Windows.Forms.Tests (12)
System\Windows\Forms\ScrollableControlTests.cs (12)
583control.AutoScrollMinSize = value; 590control.AutoScrollMinSize = value; 634control.AutoScrollMinSize = value; 644control.AutoScrollMinSize = value; 661control.AutoScrollMinSize = new Size(1, 0); 665control.AutoScrollMinSize = new Size(0, 1); 669control.AutoScrollMinSize = new Size(1, 2); 685control.AutoScrollMinSize = new Size(1, 0); 689control.AutoScrollMinSize = new Size(0, 1); 693control.AutoScrollMinSize = new Size(1, 2); 1119AutoScrollMinSize = new Size(10, 20), 1297AutoScrollMinSize = new Size(10, 20),
42 references to AutoScrollMinSize
System.Windows.Forms (13)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
246get => base.AutoScrollMinSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
80get => base.AutoScrollMinSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
79get => base.AutoScrollMinSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
94get => base.AutoScrollMinSize;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
102get => base.AutoScrollMinSize;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
148get => base.AutoScrollMinSize;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
509get => base.AutoScrollMinSize;
System\Windows\Forms\Scrolling\ScrollableControl.cs (6)
221if (AutoScrollMinSize.Width != 0 && AutoScrollMinSize.Height != 0) 223displayRectangle.Width = Math.Max(displayRectangle.Width, AutoScrollMinSize.Width); 224displayRectangle.Height = Math.Max(displayRectangle.Height, AutoScrollMinSize.Height); 1134/// Indicates whether the <see cref="AutoScrollMinSize"/> 1137private bool ShouldSerializeAutoScrollMinSize() => !AutoScrollMinSize.Equals(Size.Empty);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\PropertyGridDesigner.cs (1)
15properties.Remove(nameof(PropertyGrid.AutoScrollMinSize));
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
25Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System.Windows.Forms.Tests (27)
System\Windows\Forms\ContainerControlTests.cs (1)
31Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
38Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
26Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
25Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\FormTests.cs (1)
36Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\PanelTests.cs (1)
26Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\PropertyGridTests.cs (1)
36Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\ScrollableControlTests.cs (15)
27Assert.Equal(Size.Empty, control.AutoScrollMinSize); 584Assert.Equal(value, control.AutoScrollMinSize); 591Assert.Equal(value, control.AutoScrollMinSize); 635Assert.Equal(value, control.AutoScrollMinSize); 645Assert.Equal(value, control.AutoScrollMinSize); 657PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMinSize)]; 662Assert.Equal(new Size(1, 0), control.AutoScrollMinSize); 666Assert.Equal(new Size(0, 1), control.AutoScrollMinSize); 670Assert.Equal(new Size(1, 2), control.AutoScrollMinSize); 674Assert.Equal(Size.Empty, control.AutoScrollMinSize); 681PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMinSize)]; 686Assert.Equal(new Size(1, 0), control.AutoScrollMinSize); 690Assert.Equal(new Size(0, 1), control.AutoScrollMinSize); 694Assert.Equal(new Size(1, 2), control.AutoScrollMinSize); 698Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\SplitterPanelTests.cs (1)
32Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
27Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\TabPageTests.cs (2)
30Assert.Equal(Size.Empty, control.AutoScrollMinSize); 139Assert.Equal(Size.Empty, control.AutoScrollMinSize);
System\Windows\Forms\UserControlTests.cs (1)
32Assert.Equal(Size.Empty, control.AutoScrollMinSize);