Base:
property
AutoSize
System.Windows.Forms.Control.AutoSize
4 writes to AutoSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
126AutoSize = true,
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
37AutoSize = true,
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
22AutoSize = false,
System\Windows\Forms\Design\FormatControl.cs (1)
355thirdRowLabel.AutoSize = true;
18 references to AutoSize
System.Windows.Forms (18)
System\Windows\Forms\Controls\Labels\Label.cs (15)
104if (AutoSize != value) 153LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.AutoEllipsis); 220LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle); 223if (AutoSize) 316protected override Size DefaultSize => new(100, AutoSize ? PreferredHeight : 23); 345LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.BorderStyle); 346if (AutoSize) 558LayoutTransaction.DoLayoutIf(AutoSize, ParentInternal, this, PropertyNames.ImageAlign); 785using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) 824if (!AutoSize && 837Size preferredSize = (AutoSize) ? PreferredSize : new Size(saveWidth, saveHeight); 1211using (LayoutTransaction.CreateTransactionIf(AutoSize, ParentInternal, this, PropertyNames.Text)) 1389if (AutoSize && SelfSizing) 1398Debug.Assert(!AutoSize || (AutoSize && !SelfSizing) || Size == PreferredSize,
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (3)
161if (_owner.AutoSize) 302bool doLayout = _owner._links.Count > 0 && _owner.AutoSize; 343if (_owner.AutoSize)