16 overrides of AutoSize
System.Windows.Forms (15)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
125public override bool AutoSize
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
859public override bool AutoSize
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
59public override bool AutoSize
System\Windows\Forms\Controls\Labels\Label.cs (1)
99public override bool AutoSize
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
252public override bool AutoSize
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
189public override bool AutoSize
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
100public override bool AutoSize
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
72public override bool AutoSize
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.cs (1)
45public override bool AutoSize
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
123public override bool AutoSize
System\Windows\Forms\Form.cs (1)
491public override bool AutoSize
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
181public override bool AutoSize
System\Windows\Forms\Panels\Panel.cs (1)
41public override bool AutoSize
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
51public override bool AutoSize
System\Windows\Forms\UserControl.cs (1)
43public override bool AutoSize
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
139public override bool AutoSize
16 writes to AutoSize
System.Windows.Forms (14)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
130base.AutoSize = value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
864base.AutoSize = value;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
62set => base.AutoSize = value;
System\Windows\Forms\Controls\Labels\Label.cs (1)
106base.AutoSize = value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
832AutoSize = true; 838AutoSize = false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
142AutoSize = true
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
204base.AutoSize = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
103set => base.AutoSize = value;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
126set => base.AutoSize = value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
184set => base.AutoSize = value;
System\Windows\Forms\Panels\Panel.cs (1)
44set => base.AutoSize = value;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
54set => base.AutoSize = value;
System\Windows\Forms\UserControl.cs (1)
46set => base.AutoSize = value;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
147base.AutoSize = value;
System\Windows\Integration\WindowsFormsHost.cs (1)
331Child.AutoSize = false;
23 references to AutoSize
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (2)
716if (value == AutoSize) 3665LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.UseCompatibleTextRendering);
System\Windows\Forms\Control.VisualStylesMode.Docs.cs (1)
25/// intrinsic sizing, or with <see cref="AutoSize"/> enabled, request layout automatically. Multiline
System\Windows\Forms\Controls\Buttons\Button.cs (1)
43/// Allows the control to optionally shrink when <see cref="Control.AutoSize"/> is <see langword="true"/>.
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
127get => base.AutoSize;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
61get => base.AutoSize;
System\Windows\Forms\Controls\Labels\Label.cs (1)
101get => base.AutoSize;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
415LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.DrawMode);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
422LayoutTransaction.DoLayoutIf(AutoSize, this, this, PropertyNames.Image);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
191get => base.AutoSize; 194if (IsInToolStripPanel && base.AutoSize && !value)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
102get => base.AutoSize; 638if (controlArray[i].AutoSize)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
125get => base.AutoSize;
System\Windows\Forms\Layout\CommonProperties.cs (1)
62/// A control can thwart the layout engine by overriding its virtual <see cref="Control.AutoSize"/>
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
183get => base.AutoSize;
System\Windows\Forms\Panels\Panel.cs (1)
43get => base.AutoSize;
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2629if (control.AutoSize)
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
53get => base.AutoSize;
System\Windows\Forms\UserControl.cs (1)
45get => base.AutoSize;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
506(control.AutoSize) &&
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (1)
85if (child.AutoSize)
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
143return base.AutoSize;