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