Base:
property
AutoSize
System.Windows.Forms.Control.AutoSize
1 override of AutoSize
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
149
public override bool
AutoSize
27 writes to AutoSize
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
279
AutoSize
= false,
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
152
set => base.
AutoSize
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
86
AutoSize
= true
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
53
AutoSize
= false
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
39
AutoSize
= true,
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ByteViewer.cs (1)
455
AutoSize
= false,
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1543
AutoSize
= false;
System.Windows.Forms.Tests (20)
TextBoxBaseTests.cs (20)
213
control.
AutoSize
= value;
222
control.
AutoSize
= value;
231
control.
AutoSize
= !value;
251
control.
AutoSize
= value;
261
control.
AutoSize
= value;
271
control.
AutoSize
= !value;
298
control.
AutoSize
= value;
308
control.
AutoSize
= value;
318
control.
AutoSize
= !value;
338
AutoSize
= true
350
control.
AutoSize
= false;
355
control.
AutoSize
= false;
360
control.
AutoSize
= true;
366
control.
AutoSize
= false;
582
AutoSize
= autoSize,
1975
AutoSize
= false,
2069
AutoSize
= false
3779
AutoSize
= false
3941
AutoSize
= false,
6717
AutoSize
= false
32 references to AutoSize
System.Windows.Forms (5)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
151
get => base.
AutoSize
;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
365
using (LayoutTransaction.CreateTransactionIf(
AutoSize
, ParentInternal, this, PropertyNames.BorderStyle))
726
using (LayoutTransaction.CreateTransactionIf(
AutoSize
, ParentInternal, this, PropertyNames.Multiline))
738
SetStyle(ControlStyles.FixedHeight,
AutoSize
);
1162
using (LayoutTransaction.CreateTransactionIf(
AutoSize
, ParentInternal, this, PropertyNames.WordWrap))
System.Windows.Forms.Tests (27)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
32
Assert.True(control.
AutoSize
);
TextBoxBaseTests.cs (25)
214
Assert.Equal(value, control.
AutoSize
);
223
Assert.Equal(value, control.
AutoSize
);
232
Assert.Equal(!value, control.
AutoSize
);
252
Assert.Equal(value, control.
AutoSize
);
262
Assert.Equal(value, control.
AutoSize
);
272
Assert.Equal(!value, control.
AutoSize
);
299
Assert.Equal(value, control.
AutoSize
);
309
Assert.Equal(value, control.
AutoSize
);
319
Assert.Equal(!value, control.
AutoSize
);
351
Assert.False(control.
AutoSize
);
356
Assert.False(control.
AutoSize
);
361
Assert.True(control.
AutoSize
);
367
Assert.False(control.
AutoSize
);
1949
Assert.True(control.
AutoSize
);
1957
Assert.True(control.
AutoSize
);
1965
Assert.True(control.
AutoSize
);
1981
Assert.False(control.
AutoSize
);
1989
Assert.False(control.
AutoSize
);
1997
Assert.False(control.
AutoSize
);
2029
Assert.True(control.
AutoSize
);
2039
Assert.True(control.
AutoSize
);
2049
Assert.True(control.
AutoSize
);
2081
Assert.False(control.
AutoSize
);
2091
Assert.False(control.
AutoSize
);
2101
Assert.False(control.
AutoSize
);
TextBoxTests.cs (1)
31
Assert.True(control.
AutoSize
);