1 write to AutoSize
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
646AutoSize = ToolStripItem.AutoSize;
9 references to AutoSize
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1317item.AutoSize = itemDesigner is null || itemDesigner.AutoSize;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (8)
40get => (bool)ShadowProperties[nameof(AutoSize)]; 43bool autoSize = (bool)ShadowProperties[nameof(AutoSize)]; 46ShadowProperties[nameof(AutoSize)] = value; 630ToolStripItem.AutoSize = AutoSize; 1078private void ResetAutoSize() => ShadowProperties[nameof(AutoSize)] = false; 1083private void RestoreAutoSize() => ToolStripItem.AutoSize = (bool)ShadowProperties[nameof(AutoSize)]; 1191private bool ShouldSerializeAutoSize() => (ShadowProperties.Contains(nameof(AutoSize))); 1283ToolStripItem.AutoSize = AutoSize;