Base:
property
Text
System.Windows.Forms.ToolStripItem.Text
1 override of Text
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
206
public override string
Text
32 writes to Text
Accessibility_Core_App (4)
DataControls.Designer.cs (3)
165
this.bindingNavigatorPositionItem.
Text
= "0";
239
this.toolStripComboBox1.
Text
= "Test1";
245
this.toolStripTextBox1.
Text
= "Test1";
Menu_Toolbars_controls.Designer.cs (1)
416
toolStripTextBox1.
Text
= "toolStripTextBox1";
System.Windows.Forms.Tests (25)
System\Windows\Forms\ToolStripControlHostTests.cs (6)
2252
Text
= value
2259
item.
Text
= value;
2280
item.
Text
= "value";
2285
item.
Text
= "value";
2290
item.
Text
= string.Empty;
2296
item.
Text
= "value";
System\Windows\Forms\ToolStripTextBoxTests.ClipboardTests.cs (2)
16
toolStripTextBox.
Text
= "Hello";
29
toolStripTextBox.
Text
= "Hello";
System\Windows\Forms\ToolStripTextBoxTests.cs (17)
275
_toolStripTextBox.
Text
= initialText;
290
_toolStripTextBox.
Text
= new string('a', textLength.Value);
296
_toolStripTextBox.Invoking(t => t.
Text
= null).Should().NotThrow();
307
_toolStripTextBox.
Text
= "0123456789";
327
_toolStripTextBox.
Text
= text;
697
_toolStripTextBox.
Text
= "Hello";
705
_toolStripTextBox.
Text
= "Hello";
714
_toolStripTextBox.
Text
= "Hello";
728
_toolStripTextBox.
Text
= text;
736
_toolStripTextBox.
Text
= "Hello";
745
_toolStripTextBox.
Text
= "Hello\r\nWorld\r\nTest";
756
_toolStripTextBox.
Text
= "Hello\r\nWorld\r\nTest";
766
_toolStripTextBox.
Text
= "Hello\r\nWorld\r\nTest";
776
_toolStripTextBox.
Text
= "Hello World";
786
_toolStripTextBox.
Text
= "Hello\nWorld";
796
_toolStripTextBox.
Text
= "Hello World";
804
_toolStripTextBox.
Text
= "Hello World";
WinFormsControlsTest (3)
ToolStripTests.Designer.cs (3)
273
this.toolStripComboBox2.
Text
= "toolStripComboBox2";
281
this.toolStripTextBox2.
Text
= "toolStripTextBox2";
413
this.toolStripTextBox1.
Text
= "ToolStripTextBox";
17 references to Text
System.Windows.Forms.Tests (17)
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
355
_toolStripComboBox.SelectionLength.Should().Be(_toolStripComboBox.
Text
.Length);
System\Windows\Forms\ToolStripControlHostTests.cs (8)
114
Assert.Equal(c.Text, item.
Text
);
669
Assert.Equal("Text", item.
Text
);
2254
Assert.Equal(expected, item.
Text
);
2260
Assert.Equal(expected, item.
Text
);
2281
Assert.Equal("value", item.
Text
);
2286
Assert.Equal("value", item.
Text
);
2291
Assert.Empty(item.
Text
);
2297
Assert.Equal("value", item.
Text
);
System\Windows\Forms\ToolStripTextBoxTests.ClipboardTests.cs (3)
22
anotherToolStripTextBox.
Text
.Should().Be("Hello");
32
toolStripTextBox.
Text
.Should().BeEmpty();
42
toolStripTextBox.
Text
.Should().Be(textToPaste);
System\Windows\Forms\ToolStripTextBoxTests.cs (5)
297
_toolStripTextBox.
Text
.Should().BeNullOrEmpty();
691
_toolStripTextBox.
Text
.Should().Be("Hello");
699
_toolStripTextBox.
Text
.Should().BeEmpty();
708
_toolStripTextBox.
Text
.Should().Be("Hello");
787
_toolStripTextBox.SelectionStart = _toolStripTextBox.
Text
.Length;