47 writes to AutoSizeMode
PresentationUI (6)
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
70_addButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; 80_cancelButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
212this.buttonAddUser.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
MS\Internal\Documents\SigningDialog.Designer.cs (3)
198_cancelButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; 212_signButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; 226_signSaveAsButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
System.Windows.Forms.Design (7)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
182_buttonOK.AutoSizeMode = AutoSizeMode.GrowAndShrink; 193_buttonSave.AutoSizeMode = AutoSizeMode.GrowAndShrink;
System\Windows\Forms\Design\StyleEditorForm.cs (5)
210_addButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; 218_removeButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; 226_insertButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; 245_okButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; 253_cancelButton.AutoSizeMode = AutoSizeMode.GrowAndShrink;
System.Windows.Forms.Tests (31)
System\Windows\Forms\ButtonTests.cs (31)
278control.AutoSizeMode = value; 285control.AutoSizeMode = value; 317control.AutoSizeMode = value; 326control.AutoSizeMode = value; 365control.AutoSizeMode = value; 374control.AutoSizeMode = value; 422control.AutoSizeMode = value; 431control.AutoSizeMode = value; 478control.AutoSizeMode = value; 493control.AutoSizeMode = value; 551control.AutoSizeMode = value; 566control.AutoSizeMode = value; 593AutoSizeMode = AutoSizeMode.GrowOnly, 600control.AutoSizeMode = AutoSizeMode.GrowAndShrink; 609Assert.Throws<InvalidEnumArgumentException>("value", () => control.AutoSizeMode = value); 692AutoSizeMode = AutoSizeMode.GrowAndShrink, 947AutoSizeMode = AutoSizeMode.GrowAndShrink, 1202AutoSizeMode = autoSizeMode 1251AutoSizeMode = autoSizeMode, 1301AutoSizeMode = autoSizeMode, 1334AutoSizeMode = AutoSizeMode.GrowOnly, 1358AutoSizeMode = AutoSizeMode.GrowAndShrink, 1440AutoSizeMode = autoSizeMode 1518AutoSizeMode = autoSizeMode, 1597AutoSizeMode = autoSizeMode, 1630AutoSizeMode = AutoSizeMode.GrowOnly, 1654AutoSizeMode = AutoSizeMode.GrowAndShrink, 1678AutoSizeMode = AutoSizeMode.GrowOnly, 1702AutoSizeMode = AutoSizeMode.GrowAndShrink, 1726AutoSizeMode = AutoSizeMode.GrowOnly, 1750AutoSizeMode = AutoSizeMode.GrowAndShrink,
WinFormsControlsTest (3)
MainForm.cs (1)
30AutoSizeMode = AutoSizeMode.GrowAndShrink,
TaskDialogSamples.cs (1)
35AutoSizeMode = AutoSizeMode.GrowAndShrink,
ToolStripSeparatorPreferredSize.cs (1)
69_buttonChangeOrientation.AutoSizeMode = AutoSizeMode.GrowAndShrink;
15 references to AutoSizeMode
System.Windows.Forms (2)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
89return AutoSizeMode == AutoSizeMode.GrowAndShrink ? preferredSize : LayoutUtils.UnionSizes(preferredSize, Size); 107return AutoSizeMode == AutoSizeMode.GrowAndShrink ? paddedSize : LayoutUtils.UnionSizes(paddedSize, Size);
System.Windows.Forms.Tests (13)
System\Windows\Forms\ButtonTests.cs (13)
30Assert.Equal(AutoSizeMode.GrowOnly, control.AutoSizeMode); 279Assert.Equal(value, control.AutoSizeMode); 286Assert.Equal(value, control.AutoSizeMode); 318Assert.Equal(value, control.AutoSizeMode); 327Assert.Equal(value, control.AutoSizeMode); 366Assert.Equal(value, control.AutoSizeMode); 375Assert.Equal(value, control.AutoSizeMode); 423Assert.Equal(value, control.AutoSizeMode); 432Assert.Equal(value, control.AutoSizeMode); 479Assert.Equal(value, control.AutoSizeMode); 494Assert.Equal(value, control.AutoSizeMode); 552Assert.Equal(value, control.AutoSizeMode); 567Assert.Equal(value, control.AutoSizeMode);