Base:
property
AutoSize
System.Windows.Forms.Control.AutoSize
179 writes to AutoSize
DesignSurface (1)
MainForm.cs (1)
138
checkbox2.
AutoSize
= true;
PresentationUI (33)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
112
this._okButton.
AutoSize
= true;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
85
this._cancelButton.
AutoSize
= true;
92
this._okButton.
AutoSize
= true;
123
this._addButton.
AutoSize
= true;
131
this._removeButton.
AutoSize
= true;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
69
_addButton.
AutoSize
= true;
79
_cancelButton.
AutoSize
= true;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
187
_nextButton.
AutoSize
= true;
196
_cancelButton.
AutoSize
= true;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (4)
74
this._nextButton.
AutoSize
= true;
83
this._cancelButton.
AutoSize
= true;
169
this._networkRadioButton.
AutoSize
= true;
190
this._passportRadioButton.
AutoSize
= true;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
154
this.closeButton.
AutoSize
= true;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (9)
91
this.radioButtonUnrestricted.
AutoSize
= true;
100
this.radioButtonPermissions.
AutoSize
= true;
109
this.radioButtonTemplate.
AutoSize
= true;
211
this.buttonAddUser.
AutoSize
= true;
257
this.checkBoxPermissionsContact.
AutoSize
= true;
282
this.checkBoxValidUntil.
AutoSize
= true;
312
this.buttonCancel.
AutoSize
= true;
320
this.buttonSave.
AutoSize
= true;
327
this.buttonSaveAs.
AutoSize
= true;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (5)
56
_buttonDone.
AutoSize
= true;
99
_buttonSign.
AutoSize
= true;
108
_buttonViewCert.
AutoSize
= true;
118
_buttonRequestDelete.
AutoSize
= true;
127
_buttonRequestAdd.
AutoSize
= true;
MS\Internal\Documents\SigningDialog.Designer.cs (5)
100
_addDigSigCheckBox.
AutoSize
= true;
118
_addDocPropCheckBox.
AutoSize
= true;
197
_cancelButton.
AutoSize
= true;
211
_signButton.
AutoSize
= true;
225
_signSaveAsButton.
AutoSize
= true;
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
159
AutoSize
= true,
171
AutoSize
= true,
System.Windows.Forms.Tests (66)
System\Windows\Forms\ButtonBaseTests.cs (56)
318
control.
AutoSize
= value;
325
control.
AutoSize
= value;
332
control.
AutoSize
= !value;
350
control.
AutoSize
= value;
357
control.
AutoSize
= value;
364
control.
AutoSize
= !value;
386
control.
AutoSize
= value;
396
control.
AutoSize
= value;
406
control.
AutoSize
= !value;
435
control.
AutoSize
= value;
445
control.
AutoSize
= value;
455
control.
AutoSize
= !value;
470
AutoSize
= true
482
control.
AutoSize
= false;
487
control.
AutoSize
= false;
492
control.
AutoSize
= true;
498
control.
AutoSize
= false;
1059
AutoSize
= autoSize
1100
AutoSize
= autoSize,
1143
AutoSize
= autoSize
1202
AutoSize
= autoSize
1314
AutoSize
= autoSize
1399
AutoSize
= autoSize,
1512
AutoSize
= autoSize,
1553
AutoSize
= autoSize,
1615
AutoSize
= autoSize,
1666
AutoSize
= autoSize,
1720
AutoSize
= autoSize,
1856
AutoSize
= autoSize
1891
AutoSize
= autoSize
1947
AutoSize
= autoSize
1995
AutoSize
= autoSize
3049
AutoSize
= autoSize
3080
AutoSize
= autoSize,
3135
AutoSize
= autoSize
3175
AutoSize
= autoSize,
3282
AutoSize
= autoSize,
3320
AutoSize
= autoSize,
3381
AutoSize
= autoSize,
3436
AutoSize
= autoSize,
3515
AutoSize
= autoSize
3555
AutoSize
= autoSize
3611
AutoSize
= autoSize
3664
AutoSize
= autoSize
3737
AutoSize
= autoSize,
3764
AutoSize
= autoSize,
3817
AutoSize
= autoSize
3861
AutoSize
= autoSize,
3936
AutoSize
= autoSize
3975
AutoSize
= autoSize
4036
AutoSize
= autoSize
4091
AutoSize
= autoSize
7151
AutoSize
= autoSize
7193
AutoSize
= autoSize,
7248
AutoSize
= autoSize
7295
AutoSize
= autoSize,
System\Windows\Forms\ButtonTests.cs (8)
765
AutoSize
= autoSize
796
AutoSize
= autoSize,
851
AutoSize
= autoSize
891
AutoSize
= autoSize,
2885
AutoSize
= autoSize
2927
AutoSize
= autoSize,
2982
AutoSize
= autoSize
3029
AutoSize
= autoSize,
System\Windows\Forms\RadioButtonTests.cs (2)
320
AutoSize
= autoSize,
359
AutoSize
= autoSize,
TestPassApp (23)
CommonControl1.Designer.cs (4)
195
this.button5.
AutoSize
= true;
267
this.checkBox3.
AutoSize
= true;
279
this.checkBox2.
AutoSize
= true;
290
this.checkBox1.
AutoSize
= true;
CommonControl2.Designer.cs (1)
109
this.radioButton1.
AutoSize
= true;
ContainerControls.Designer.cs (8)
307
this.radioButton6.
AutoSize
= true;
317
this.radioButton5.
AutoSize
= true;
327
this.radioButton4.
AutoSize
= true;
337
this.checkBox2.
AutoSize
= true;
349
this.radioButton3.
AutoSize
= true;
361
this.radioButton2.
AutoSize
= true;
389
this.radioButton1.
AutoSize
= true;
399
this.checkBox1.
AutoSize
= true;
ContainerControls2.Designer.cs (8)
158
this.radioButton6.
AutoSize
= true;
168
this.radioButton5.
AutoSize
= true;
178
this.radioButton4.
AutoSize
= true;
188
this.checkBox2.
AutoSize
= true;
200
this.radioButton3.
AutoSize
= true;
212
this.radioButton2.
AutoSize
= true;
240
this.radioButton1.
AutoSize
= true;
250
this.checkBox1.
AutoSize
= true;
DataBindingExample.Designer.cs (2)
131
this.radioButton1.
AutoSize
= true;
174
this.checkBox1.
AutoSize
= true;
WinFormsControlsTest (54)
Buttons.cs (5)
52
AutoSize
= true,
73
AutoSize
= true,
94
AutoSize
= true,
107
AutoSize
= true,
116
AutoSize
= true,
Calendar.Designer.cs (2)
191
this.showWeekNumbersCheckBox.
AutoSize
= true;
203
this.showTodayCheckBox.
AutoSize
= true;
ComboBoxesWithScrollBars.Designer.cs (6)
265
this.integralHeightCheckBox1.
AutoSize
= true;
276
this.integralHeightCheckBox2.
AutoSize
= true;
287
this.integralHeightCheckBox3.
AutoSize
= true;
312
this.useDifferentHeightsCheckBox1.
AutoSize
= true;
323
this.useDifferentHeightsCheckBox2.
AutoSize
= true;
334
this.useDifferentHeightsCheckBox3.
AutoSize
= true;
CustomComCtl32Button.cs (3)
29
AutoSize
= true,
39
AutoSize
= true,
48
AutoSize
= true,
DataGridViewTest.Designer.cs (2)
147
this.changeFontButton.
AutoSize
= true;
195
this.resetFontButton.
AutoSize
= true;
FormShowInTaskbar.cs (2)
22
AutoSize
= true,
43
AutoSize
= true,
ListBoxes.Designer.cs (8)
81
this.addButton1.
AutoSize
= true;
90
this.deleteButton1.
AutoSize
= true;
119
this.addButton2.
AutoSize
= true;
128
this.deleteButton2.
AutoSize
= true;
159
this.addButton3.
AutoSize
= true;
168
this.deleteButton3.
AutoSize
= true;
201
this.addButton4.
AutoSize
= true;
210
this.deleteButton4.
AutoSize
= true;
MainForm.cs (2)
263
button.
AutoSize
= true;
284
button.
AutoSize
= false;
MdiChild.Designer.cs (7)
63
this.chkChildAlign.
AutoSize
= true;
74
this.chkRightToLeft.
AutoSize
= true;
85
this.btnOpenChild.
AutoSize
= true;
96
this.chkSetParentMenustrip.
AutoSize
= true;
107
this.chkSetMenustrip.
AutoSize
= true;
118
this.chkAddParentMenustrip.
AutoSize
= true;
129
this.chkAddMenustrip.
AutoSize
= true;
MultipleControls.Designer.cs (2)
170
this.checkBox1.
AutoSize
= true;
180
this.checkBox2.
AutoSize
= true;
ScalingBeforeChanges.Designer.cs (1)
39
this.checkBox1.
AutoSize
= true;
ScrollBars.Designer.cs (1)
88
this.chbRightToLeft.
AutoSize
= true;
TaskDialogSamples.cs (1)
34
AutoSize
= true,
ToolTipTests.Designer.cs (7)
51
this.delaysNotSetButton.
AutoSize
= true;
62
this.automaticDelayButton.
AutoSize
= true;
73
this.autoPopDelayButton.
AutoSize
= true;
99
this.defaultAutomaticDelayButton.
AutoSize
= true;
110
this.defaultAutoPopDelayButton.
AutoSize
= true;
121
this.initialDelayButton.
AutoSize
= true;
133
this.autoEllipsisButton.
AutoSize
= false;
TrackBars.Designer.cs (5)
70
this.rbHorizontal.
AutoSize
= true;
84
this.rbVertical.
AutoSize
= true;
109
this.chbRightToLeft.
AutoSize
= true;
121
this.chbRightToLeftLayout.
AutoSize
= true;
133
this.tickstyleNone.
AutoSize
= true;
33 references to AutoSize
System.Windows.Forms (13)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (7)
354
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.FlatStyle);
415
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.Image);
438
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.ImageAlign);
687
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.TextAlign);
716
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.TextImageRelation);
739
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.Text);
1102
using (LayoutTransaction.CreateTransactionIf(
AutoSize
, ParentInternal, this, PropertyNames.Text))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
336
layout.Focus = Control.
AutoSize
? Rectangle.Inflate(layout.CheckBounds, -2, -2) : layout.Field;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
227
layout.Focus = Control.
AutoSize
? layout.CheckBounds : layout.Field;
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
73
using (LayoutTransaction.CreateTransactionIf(
AutoSize
, ParentInternal, this, PropertyNames.Appearance))
128
LayoutTransaction.DoLayoutIf(
AutoSize
, ParentInternal, this, PropertyNames.CheckAlign);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
45
_owner.
AutoSize
,
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
89
using (LayoutTransaction.CreateTransactionIf(
AutoSize
, ParentInternal, this, PropertyNames.Appearance))
System.Windows.Forms.Tests (20)
System\Windows\Forms\ButtonBaseTests.cs (17)
30
Assert.False(control.
AutoSize
);
319
Assert.Equal(value, control.
AutoSize
);
326
Assert.Equal(value, control.
AutoSize
);
333
Assert.Equal(!value, control.
AutoSize
);
351
Assert.Equal(value, control.
AutoSize
);
358
Assert.Equal(value, control.
AutoSize
);
365
Assert.Equal(!value, control.
AutoSize
);
387
Assert.Equal(value, control.
AutoSize
);
397
Assert.Equal(value, control.
AutoSize
);
407
Assert.Equal(!value, control.
AutoSize
);
436
Assert.Equal(value, control.
AutoSize
);
446
Assert.Equal(value, control.
AutoSize
);
456
Assert.Equal(!value, control.
AutoSize
);
483
Assert.False(control.
AutoSize
);
488
Assert.False(control.
AutoSize
);
493
Assert.True(control.
AutoSize
);
499
Assert.False(control.
AutoSize
);
System\Windows\Forms\ButtonTests.cs (1)
31
Assert.False(control.
AutoSize
);
System\Windows\Forms\CheckBoxTests.cs (1)
31
Assert.False(control.
AutoSize
);
System\Windows\Forms\RadioButtonTests.cs (1)
31
Assert.False(control.
AutoSize
);