40 writes to AutoSize
Accessibility_Core_App (4)
DataControls.Designer.cs (1)
162this.bindingNavigatorPositionItem.AutoSize = false;
PrintingControls.cs (1)
66item.AutoSize = false;
RemainingControls.cs (2)
17item.AutoSize = false; 27item.AutoSize = false;
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
789AutoSize = false,
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
494menuItem.AutoSize = AutoSize;
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
212PositionItem.AutoSize = false;
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1317item.AutoSize = itemDesigner is null || itemDesigner.AutoSize;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (5)
49ToolStripItem.AutoSize = value; 630ToolStripItem.AutoSize = AutoSize; 1083private void RestoreAutoSize() => ToolStripItem.AutoSize = (bool)ShadowProperties[nameof(AutoSize)]; 1228ToolStripItem.AutoSize = false; 1283ToolStripItem.AutoSize = AutoSize;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
379_typeHereNode.AutoSize = false; 757AutoSize = false,
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
884AutoSize = false, 1369AutoSize = false, 1401AutoSize = false,
System.Windows.Forms.Tests (20)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
952AutoSize = false,
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
933AutoSize = false,
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
993AutoSize = false,
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
216AutoSize = false,
System\Windows\Forms\ToolStripItemTests.cs (15)
874AutoSize = value 879item.AutoSize = value; 883item.AutoSize = !value; 910item.AutoSize = value; 916item.AutoSize = value; 922item.AutoSize = !value; 963item.AutoSize = value; 972item.AutoSize = value; 981item.AutoSize = !value; 1010item.AutoSize = value; 1016item.AutoSize = value; 1022item.AutoSize = !value; 1055item.AutoSize = value; 1064item.AutoSize = value; 1073item.AutoSize = !value;
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
274AutoSize = false,
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
1026AutoSize = false,
WinFormsControlsTest (1)
DragDrop.cs (1)
447AutoSize = false,
46 references to AutoSize
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2396return item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
494menuItem.AutoSize = AutoSize; 537if (!AutoSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (8)
40Size overflowButtonSize = toolStrip.OverflowButton.AutoSize ? toolStrip.OverflowButton.GetPreferredSize(_displayRectangle.Size) : toolStrip.OverflowButton.Size; 86Size itemSize = item.AutoSize ? item.GetPreferredSize(_displayRectangle.Size) : item.Size; 136Size itemSize = item.AutoSize ? item.GetPreferredSize(_displayRectangle.Size) : item.Size; 270itemSize = item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 331if (item.AutoSize) 412itemSize = item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 464if (item.AutoSize) 584Size itemSize = item.AutoSize ? item.GetPreferredSize(_displayRectangle.Size) : item.Size;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
646AutoSize = ToolStripItem.AutoSize;
System.Windows.Forms.Tests (34)
BindingNavigatorTests.cs (1)
109Assert.False(bn.PositionItem.AutoSize);
System\Windows\Forms\ToolStripButtonTests.cs (6)
27Assert.True(item.AutoSize); 108Assert.True(item.AutoSize); 195Assert.True(item.AutoSize); 285Assert.True(item.AutoSize); 374Assert.True(item.AutoSize); 472Assert.True(item.AutoSize);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
57Assert.True(item.AutoSize);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
26Assert.True(item.AutoSize); 116Assert.True(item.AutoSize); 215Assert.True(item.AutoSize); 315Assert.True(item.AutoSize);
System\Windows\Forms\ToolStripItemTests.cs (18)
29Assert.True(item.AutoSize); 115Assert.True(item.AutoSize); 210Assert.True(item.AutoSize); 876Assert.Equal(value, item.AutoSize); 880Assert.Equal(value, item.AutoSize); 884Assert.Equal(!value, item.AutoSize); 911Assert.Equal(value, item.AutoSize); 917Assert.Equal(value, item.AutoSize); 923Assert.Equal(!value, item.AutoSize); 964Assert.Equal(value, item.AutoSize); 973Assert.Equal(value, item.AutoSize); 982Assert.Equal(!value, item.AutoSize); 1011Assert.Equal(value, item.AutoSize); 1017Assert.Equal(value, item.AutoSize); 1023Assert.Equal(!value, item.AutoSize); 1056Assert.Equal(value, item.AutoSize); 1065Assert.Equal(value, item.AutoSize); 1074Assert.Equal(!value, item.AutoSize);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
27Assert.True(item.AutoSize); 319clone.AutoSize.Should().Be(original.AutoSize);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
27Assert.True(item.AutoSize);