Base:
property
AutoSize
System.Windows.Forms.Control.AutoSize
180 writes to AutoSize
Accessibility_Core_App (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;
DesignSurface (1)
MainForm.cs (1)
146
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 (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
159
AutoSize
= true,
171
AutoSize
= true,
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
53
AutoSize
= true,
System.Windows.Forms.Tests (66)
System\Windows\Forms\ButtonBaseTests.cs (56)
316
control.
AutoSize
= value;
323
control.
AutoSize
= value;
330
control.
AutoSize
= !value;
348
control.
AutoSize
= value;
355
control.
AutoSize
= value;
362
control.
AutoSize
= !value;
384
control.
AutoSize
= value;
394
control.
AutoSize
= value;
404
control.
AutoSize
= !value;
433
control.
AutoSize
= value;
443
control.
AutoSize
= value;
453
control.
AutoSize
= !value;
468
AutoSize
= true
480
control.
AutoSize
= false;
485
control.
AutoSize
= false;
490
control.
AutoSize
= true;
496
control.
AutoSize
= false;
1057
AutoSize
= autoSize
1098
AutoSize
= autoSize,
1141
AutoSize
= autoSize
1200
AutoSize
= autoSize
1312
AutoSize
= autoSize
1397
AutoSize
= autoSize,
1510
AutoSize
= autoSize,
1551
AutoSize
= autoSize,
1613
AutoSize
= autoSize,
1664
AutoSize
= autoSize,
1718
AutoSize
= autoSize,
1854
AutoSize
= autoSize
1889
AutoSize
= autoSize
1945
AutoSize
= autoSize
1993
AutoSize
= autoSize
3047
AutoSize
= autoSize
3078
AutoSize
= autoSize,
3133
AutoSize
= autoSize
3173
AutoSize
= autoSize,
3280
AutoSize
= autoSize,
3318
AutoSize
= autoSize,
3379
AutoSize
= autoSize,
3434
AutoSize
= autoSize,
3513
AutoSize
= autoSize
3553
AutoSize
= autoSize
3609
AutoSize
= autoSize
3662
AutoSize
= autoSize
3735
AutoSize
= autoSize,
3762
AutoSize
= autoSize,
3815
AutoSize
= autoSize
3859
AutoSize
= autoSize,
3934
AutoSize
= autoSize
3973
AutoSize
= autoSize
4034
AutoSize
= autoSize
4089
AutoSize
= autoSize
7149
AutoSize
= autoSize
7191
AutoSize
= autoSize,
7246
AutoSize
= autoSize
7293
AutoSize
= autoSize,
System\Windows\Forms\ButtonTests.cs (8)
763
AutoSize
= autoSize
794
AutoSize
= autoSize,
849
AutoSize
= autoSize
889
AutoSize
= autoSize,
2883
AutoSize
= autoSize
2925
AutoSize
= autoSize,
2980
AutoSize
= autoSize
3027
AutoSize
= autoSize,
System\Windows\Forms\RadioButtonTests.cs (2)
318
AutoSize
= autoSize,
357
AutoSize
= autoSize,
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)
78
this.addButton1.
AutoSize
= true;
86
this.deleteButton1.
AutoSize
= true;
111
this.addButton2.
AutoSize
= true;
119
this.deleteButton2.
AutoSize
= true;
147
this.addButton3.
AutoSize
= true;
155
this.deleteButton3.
AutoSize
= true;
184
this.addButton4.
AutoSize
= true;
192
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)
46
_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)
28
Assert.False(control.
AutoSize
);
317
Assert.Equal(value, control.
AutoSize
);
324
Assert.Equal(value, control.
AutoSize
);
331
Assert.Equal(!value, control.
AutoSize
);
349
Assert.Equal(value, control.
AutoSize
);
356
Assert.Equal(value, control.
AutoSize
);
363
Assert.Equal(!value, control.
AutoSize
);
385
Assert.Equal(value, control.
AutoSize
);
395
Assert.Equal(value, control.
AutoSize
);
405
Assert.Equal(!value, control.
AutoSize
);
434
Assert.Equal(value, control.
AutoSize
);
444
Assert.Equal(value, control.
AutoSize
);
454
Assert.Equal(!value, control.
AutoSize
);
481
Assert.False(control.
AutoSize
);
486
Assert.False(control.
AutoSize
);
491
Assert.True(control.
AutoSize
);
497
Assert.False(control.
AutoSize
);
System\Windows\Forms\ButtonTests.cs (1)
29
Assert.False(control.
AutoSize
);
System\Windows\Forms\CheckBoxTests.cs (1)
29
Assert.False(control.
AutoSize
);
System\Windows\Forms\RadioButtonTests.cs (1)
29
Assert.False(control.
AutoSize
);