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