Base:
property
Multiline
System.Windows.Forms.TextBoxBase.Multiline
55 writes to Multiline
PresentationUI (4)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (3)
366this._description.Multiline = true; 377this._keywords.Multiline = true; 474this._size.Multiline = true;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
162this.textBoxUnrestrictedText.Multiline = true;
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
517textBox.AcceptsReturn = textBox.Multiline = dataGridViewCellStyle.WrapMode == DataGridViewTriState.True;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
251Multiline = true,
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
292set { TextBox.Multiline = value; }
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
322_details.Multiline = true;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ByteViewer.cs (1)
457Multiline = true,
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1544Multiline = false;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
72_textbox.Multiline = multiline;
System.Windows.Forms.Tests (37)
System\Windows\Forms\AccessibleObjects\TextBoxAccessibleObjectTests.cs (2)
154textBox.Multiline = true; 171textBox.Multiline = true;
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1058Multiline = multiline,
TextBoxBaseTests.cs (34)
125Multiline = multiline, 246Multiline = true 1265Multiline = multiline 1281Multiline = multiline, 1944Multiline = value 1953control.Multiline = value; 1961control.Multiline = !value; 1976Multiline = value 1985control.Multiline = value; 1993control.Multiline = !value; 2025control.Multiline = value; 2035control.Multiline = value; 2045control.Multiline = !value; 2077control.Multiline = value; 2087control.Multiline = value; 2097control.Multiline = !value; 2126control.Multiline = value; 2134control.Multiline = value; 2142control.Multiline = !value; 2155Multiline = true 2167control.Multiline = false; 2172control.Multiline = false; 2177control.Multiline = true; 2183control.Multiline = false; 5023Multiline = multiline, 5043Multiline = multiline, 5102Multiline = true, 5227Multiline = multiline, 5258Multiline = multiline, 6094Multiline = multiline, 6120Multiline = multiline, 6601Multiline = true 7608Multiline = multiline 7637Multiline = multiline
TrimTest (1)
Form1.Designer.cs (1)
67textBox1.Multiline = true;
WinFormsControlsTest (6)
DragDrop.Designer.cs (1)
88textBox.Multiline = true;
Password.Designer.cs (2)
139textBox4.Multiline = true; 148textBox5.Multiline = true;
ScrollableControls.Designer.cs (1)
372textBox1.Multiline = true;
TextBoxes.Designer.cs (2)
65this.multilineTextBox.Multiline = true; 88this.RTLMultilineTextBox.Multiline = true;
40 references to Multiline
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (3)
202if ((keyData & (Keys.Control | Keys.Shift | Keys.Alt)) == Keys.Shift && Multiline && AcceptsReturn) 258&& !(ModifierKeys == Keys.Shift && Multiline && AcceptsReturn)) 269if (m.MsgInternal == PInvokeCore.WM_CHAR && ModifierKeys == Keys.Control && Multiline && AcceptsReturn)
System\Windows\Forms\Controls\TextBox\TextBox.cs (6)
247if (Multiline != value) 304if (Multiline) 405if (Multiline && !WordWrap && (ScrollBars & ScrollBars.Horizontal) != 0) 410if (Multiline && (ScrollBars & ScrollBars.Vertical) != 0) 535if (Multiline && (keyData & Keys.Alt) == 0) 730if (Multiline || _passwordChar != 0 || _useSystemPasswordChar || AutoCompleteSource == AutoCompleteSource.None)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
291get { return TextBox.Multiline; }
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TextBoxActionList.cs (1)
21get => _textBox.Multiline;
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\TextBoxActionListTests.cs (2)
22textBox.Multiline.Should().BeTrue(); 25textBox.Multiline.Should().BeFalse();
System.Windows.Forms.Tests (27)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
94Assert.False(control.Multiline);
TextBoxBaseTests.cs (25)
217Assert.False(control.Multiline); 226Assert.False(control.Multiline); 235Assert.False(control.Multiline); 255Assert.True(control.Multiline); 265Assert.True(control.Multiline); 275Assert.True(control.Multiline); 1946Assert.Equal(value, control.Multiline); 1954Assert.Equal(value, control.Multiline); 1962Assert.Equal(!value, control.Multiline); 1978Assert.Equal(value, control.Multiline); 1986Assert.Equal(value, control.Multiline); 1994Assert.Equal(!value, control.Multiline); 2026Assert.Equal(value, control.Multiline); 2036Assert.Equal(value, control.Multiline); 2046Assert.Equal(!value, control.Multiline); 2078Assert.Equal(value, control.Multiline); 2088Assert.Equal(value, control.Multiline); 2098Assert.Equal(!value, control.Multiline); 2127Assert.Equal(value, control.Multiline); 2135Assert.Equal(value, control.Multiline); 2143Assert.Equal(!value, control.Multiline); 2168Assert.False(control.Multiline); 2173Assert.False(control.Multiline); 2178Assert.True(control.Multiline); 2184Assert.False(control.Multiline);
TextBoxTests.cs (1)
88Assert.False(control.Multiline);