30 overrides of Text
System.Windows.Forms (30)
System\Windows\Forms\ActiveX\AxHost.cs (1)
369
public override string
Text
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
716
public override string
Text
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1078
public override string
Text
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3994
public override string
Text
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
823
public override string
Text
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
239
public override string
Text
System\Windows\Forms\Controls\Labels\Label.cs (1)
723
public override string
Text
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1058
public override string
Text
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1626
public override string
Text
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
836
public override string
Text
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
900
public override string
Text
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
448
public override string
Text
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1171
public override string
Text
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
448
public override string
Text
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
828
public override string
Text
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1083
public override string
Text
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
341
public override string
Text
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
509
public override string
Text
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1277
public override string
Text
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGrid.cs (1)
446
public override string
Text
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.cs (1)
116
public override string
Text
{ get => throw null; set { } }
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.cs (1)
172
public override string
Text
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
369
public override string
Text
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1361
public override string
Text
System\Windows\Forms\Form.cs (1)
2026
public override string
Text
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
836
public override string
Text
System\Windows\Forms\Panels\Panel.cs (1)
194
public override string
Text
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
270
public override string
Text
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
327
public override string
Text
System\Windows\Forms\UserControl.cs (1)
204
public override string
Text
126 writes to Text
DemoConsole (2)
MainForm.cs (1)
433
view.
Text
= $"Test Form N. {n}";
MainForm.Designer.cs (1)
170
this.menuStrip1.
Text
= "menuStrip1";
PresentationUI (2)
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (2)
143
control?.
Text
= String.IsNullOrEmpty(text) ?
157
control?.
Text
= (!date.HasValue) ?
System.Windows.Forms (34)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
281
control.
Text
= value;
System\Windows\Forms\Application.ParkingWindow.cs (1)
27
Text
= "WindowsFormsParkingWindow";
System\Windows\Forms\Control.cs (2)
421
Text
= text;
9467
Text
= string.Empty;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
719
set => base.
Text
= value;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1111
base.
Text
= value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3997
set => base.
Text
= value;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
255
base.
Text
= value;
System\Windows\Forms\Controls\Labels\Label.cs (1)
726
set => base.
Text
= value;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1080
base.
Text
= value;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1629
set => base.
Text
= value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
839
set => base.
Text
= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
903
set => base.
Text
= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
451
set => base.
Text
= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
188
_toolStrip.
Text
= "PropertyGridToolBar";
1174
set => base.
Text
= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
37
Text
= "Command Pane";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
56
Text
= SR.PropertyGridHelpPaneTitle;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
143
Text
= "PropertyGridView";
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
451
set => base.
Text
= value;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
831
set => base.
Text
= value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1090
base.
Text
= value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
91
owner.
Text
= newValue;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
406
set => ControlInternal.
Text
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
344
set => base.
Text
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
214
Control.
Text
= value;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
512
set => base.
Text
= value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1280
set => base.
Text
= value;
System\Windows\Forms\Form.cs (1)
2029
set => base.
Text
= value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
839
set => base.
Text
= value;
System\Windows\Forms\Panels\Panel.cs (1)
197
set => base.
Text
= value;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
273
set => base.
Text
= value;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
330
set => base.
Text
= value;
System\Windows\Forms\UserControl.cs (1)
207
set => base.
Text
= value;
System.Windows.Forms.Design (22)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
286
protected override void OnValueChanged() => EditControl!.
Text
= PropertyDescriptor.Converter.ConvertToString(TypeDescriptorContext, Value);
System\ComponentModel\Design\DesignerActionUI.cs (1)
702
Text
= "DesignerActionTopLevelForm"
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
30
Text
= "AdornerWindow";
System\Windows\Forms\Design\ComponentTray.cs (3)
82
Text
= "ComponentTray"; // makes debugging easier
1948
Text
= name;
2070
Text
= e.NewName;
System\Windows\Forms\Design\DesignerFrame.cs (2)
39
Text
= "DesignerFrame";
355
Text
= "OverlayControl";
System\Windows\Forms\Design\RichTextBoxDesigner.cs (1)
105
Control.
Text
= value;
System\Windows\Forms\Design\SelectionUIService.cs (1)
70
Text
= "SelectionUIOverlay";
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (2)
66
Control.
Text
= value;
82
Control.
Text
= string.Empty;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
173
Text
= "ToolStripAdornerWindow";
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (1)
33
_contextMenu.
Text
= "CustomContextMenu";
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
200
Text
= "CustomContextMenu"
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
92
toolStripContextMenu.
Text
= "CustomContextMenu";
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
730
MenuItem.DropDown.
Text
= $"{MenuItem.Name}.DropDown";
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
80
_contextMenu.
Text
= "CustomContextMenu";
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
271
templateNodeContextMenu.
Text
= "CustomContextMenu";
1285
_contextMenu.
Text
= "ItemSelectionMenu";
1389
_contextMenu.
Text
= "ItemSelectionMenu";
1463
_miniToolStrip.
Text
= text;
System.Windows.Forms.Tests (50)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (16)
344
Text
= text
359
Text
= text
374
Text
= text
444
Text
= text
469
Text
= text
493
Text
= text
544
Text
= text
560
Text
= text
576
Text
= text
685
Text
= text
711
Text
= text
736
Text
= text
1286
control.
Text
= "&Name";
1682
control.
Text
= "&control";
1713
control.
Text
= "control";
1726
control.
Text
= "&control";
System\Windows\Forms\ControlTests.Handlers.cs (4)
2240
Text
= text
2390
Text
= text
2521
Text
= text
4753
control.
Text
= longString;
System\Windows\Forms\ControlTests.Methods.cs (6)
477
Text
= text
524
Text
= text
664
Text
= text
4944
control.
Text
= longString;
5218
control.
Text
= longString;
6528
control.
Text
= "Text";
System\Windows\Forms\ControlTests.Properties.cs (14)
11967
Text
= value
11973
control.
Text
= value;
11991
control.
Text
= value;
11999
control.
Text
= value;
12021
control.
Text
= "text";
12026
control.
Text
= "text";
12031
control.
Text
= null;
12037
control.
Text
= "text";
12050
control.
Text
= null;
12055
control.
Text
= string.Empty;
12060
control.
Text
= "text";
12077
control.
Text
= null;
12082
control.
Text
= string.Empty;
12087
control.
Text
= "text";
System\Windows\Forms\ToolStripControlHostTests.cs (2)
38
Text
= "text"
669
c.
Text
= "Text";
System\Windows\Forms\ToolStripDropDownTests.cs (8)
2674
Text
= value
2680
control.
Text
= value;
2698
control.
Text
= value;
2706
control.
Text
= value;
2728
control.
Text
= "text";
2733
control.
Text
= "text";
2738
control.
Text
= null;
2744
control.
Text
= "text";
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\ToolStripItemTests.Dpi.cs (1)
43
toolStrip.
Text
= "toolStrip1";
TestPassApp (8)
DataControls.Designer.cs (1)
108
this.bindingNavigator1.
Text
= "bindingNavigator1";
Menu_Toolbars_controls.Designer.cs (3)
118
menuStrip1.
Text
= "menuStrip1";
429
statusStrip1.
Text
= "statusStrip1";
510
toolStrip1.
Text
= "toolStrip1";
ToolStripContainer.Designer.cs (4)
111
this.toolStripContainer2.
Text
= "toolStripContainer2";
142
this.toolStrip1.
Text
= "toolStrip1";
286
this.statusStrip1.
Text
= "statusStrip1";
344
this.menuStrip1.
Text
= "menuStrip1";
WinFormsControlsTest (7)
MenuStripAndCheckedListBox.Designer.cs (1)
78
this.menuStrip1.
Text
= "menuStrip1";
ToolStripSeparatorPreferredSize.cs (1)
52
_toolStrip1.
Text
= "toolStrip1";
ToolStripTests.Designer.cs (5)
92
this.toolStrip1.
Text
= "toolStrip1";
112
this.toolStrip2.
Text
= "toolStrip2";
124
this.toolStrip3.
Text
= "toolStrip3";
136
this.toolStrip4.
Text
= "toolStrip4";
385
this.statusStrip1.
Text
= "statusStrip1";
149 references to Text
System.Windows.Forms (41)
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (1)
327
=> accessibleObject.Owner?.
Text
?? defaultText;
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
350
string text = owner.
Text
;
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
276
get => GetControl()?.
Text
?? string.Empty;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
713
char mnemonic = WindowsFormsUtils.GetMnemonic(control.
Text
, true);
System\Windows\Forms\Control.cs (6)
32
[DefaultProperty(nameof(
Text
))]
3203
if (value ==
Text
)
7539
_text =
Text
;
9219
$"RecreateHandle: {GetType().FullName} [Text={
Text
}]");
10754
/// Determines if the <see cref="
Text
"/> property needs to be persisted.
10759
return
Text
.Length != 0;
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (2)
34
if ((!useMnemonic || !WindowsFormsUtils.ContainsMnemonic(control.
Text
)) && previousLabel is not null && previousLabel.UseMnemonic)
40
mnemonic = WindowsFormsUtils.GetMnemonic(control.
Text
, convertToUpperCase: false);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
718
get => base.
Text
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1090
if (string.Compare(candidate, base.
Text
, true, CultureInfo.CurrentCulture) == 0)
1102
return base.
Text
;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3996
get => base.
Text
;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
825
get => base.
Text
;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
241
get => base.
Text
;
System\Windows\Forms\Controls\Labels\Label.cs (1)
725
get => base.
Text
;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1075
return base.
Text
;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1628
get => base.
Text
;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
838
get => base.
Text
;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
902
get => base.
Text
;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
450
get => base.
Text
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1173
get => base.
Text
;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
450
get => base.
Text
;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
830
get => base.
Text
;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1085
get => base.
Text
;
1088
if (value != base.
Text
)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
73
=> this.TryGetOwnerAs(out Control? owner) && owner.
Text
is { } text ? text : string.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
405
get => ControlInternal.
Text
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
343
get => base.
Text
;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
210
return Control.
Text
;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
511
get => base.
Text
;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1279
get => base.
Text
;
System\Windows\Forms\Form.cs (1)
2028
get => base.
Text
;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
838
get => base.
Text
;
System\Windows\Forms\Panels\Panel.cs (1)
196
get => base.
Text
;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
272
get => base.
Text
;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
329
get => base.
Text
;
System\Windows\Forms\UserControl.cs (1)
206
get => base.
Text
;
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
312
SetValue(EditControl!.
Text
);
356
public override string? Value => Owner?.
Text
;
System\Windows\Forms\Design\CommandSet.cs (1)
2079
if (name is not null && name.Equals(c.
Text
))
System\Windows\Forms\Design\ComponentTray.cs (3)
1990
Size sz = Size.Ceiling(gr.MeasureString(
Text
, Font));
2295
e.Graphics.DrawString(
Text
, Font, foreBrush, rc, format);
2308
e.Graphics.DrawString(
Text
, Font, foreBrush, rc);
System\Windows\Forms\Design\RichTextBoxDesigner.cs (2)
93
return Control.
Text
;
97
string oldText = Control.
Text
;
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
63
get => Control.
Text
;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DesignerFrameTests.cs (1)
44
designerFrame.
Text
.Should().Be("DesignerFrame");
System.Windows.Forms.Tests (95)
System\Windows\Forms\ContainerControlTests.cs (1)
115
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlBindingsCollectionTests.cs (27)
52
yield return new object[] { new Binding(nameof(Control.
Text
), new object(), "dataMember") };
75
Binding binding3 = new(nameof(Control.
Text
), 1, "dataMember");
80
Binding binding4 = new(nameof(Control.
Text
), 1, "dataMember");
94
Binding binding = new(nameof(Control.
Text
), 1, "dataMember");
104
Binding binding1 = new(nameof(SubControl.
Text
), 1, "dataMember");
128
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember");
131
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
145
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true);
148
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
162
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged);
165
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
179
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null");
182
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
196
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString");
199
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
213
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture);
216
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
257
Binding binding = new(nameof(Control.
Text
), new object(), "dataMember");
260
Assert.Throws<ArgumentException>("binding", () => collection.Add(new Binding(nameof(Control.
Text
), new object(), "dataMember")));
261
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember"));
262
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true));
263
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged));
264
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null"));
265
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString"));
266
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture));
402
Binding binding = new(nameof(Control.
Text
), new object(), "member");
415
Binding binding = new(nameof(Control.
Text
), new object(), "member");
System\Windows\Forms\ControlTests.cs (5)
93
Assert.Empty(control.
Text
);
182
Assert.Equal(expectedText, control.
Text
);
278
Assert.Equal(expectedText, control.
Text
);
374
Assert.Same(expectedText, control.
Text
);
470
Assert.Same(expectedText, control.
Text
);
System\Windows\Forms\ControlTests.Handlers.cs (9)
2258
Assert.Equal(expectedText, control.
Text
);
2266
Assert.Equal(expectedText, control.
Text
);
2406
Assert.Equal(expectedText, control.
Text
);
2414
Assert.Equal(expectedText, control.
Text
);
2539
Assert.Equal(expectedText, control.
Text
);
2547
Assert.Equal(expectedText, control.
Text
);
4754
Assert.Equal(longString, control.
Text
);
4759
Assert.Empty(control.
Text
);
4766
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlTests.Methods.cs (14)
484
Assert.Equal(expectedText, control.
Text
);
531
Assert.Equal(expectedText, control.
Text
);
536
Assert.Equal(expectedText, control.
Text
);
543
Assert.Equal(expectedText, control.
Text
);
671
Assert.Equal(expectedText, control.
Text
);
4945
Assert.Equal(longString, control.
Text
);
4950
Assert.Empty(control.
Text
);
4952
Assert.Empty(control.
Text
);
5219
Assert.Equal(longString, control.
Text
);
5224
Assert.Empty(control.
Text
);
5226
Assert.Empty(control.
Text
);
6525
Assert.Empty(control.
Text
);
6530
Assert.Empty(control.
Text
);
6534
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlTests.Properties.cs (18)
11969
Assert.Equal(expected, control.
Text
);
11974
Assert.Equal(expected, control.
Text
);
11992
Assert.Equal(expected, control.
Text
);
12000
Assert.Equal(expected, control.
Text
);
12022
Assert.Equal("text", control.
Text
);
12027
Assert.Equal("text", control.
Text
);
12032
Assert.Empty(control.
Text
);
12038
Assert.Equal("text", control.
Text
);
12045
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Text
)];
12051
Assert.Empty(control.
Text
);
12056
Assert.Empty(control.
Text
);
12061
Assert.Equal("text", control.
Text
);
12065
Assert.Empty(control.
Text
);
12072
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Text
)];
12078
Assert.Empty(control.
Text
);
12083
Assert.Empty(control.
Text
);
12088
Assert.Equal("text", control.
Text
);
12092
Assert.Empty(control.
Text
);
System\Windows\Forms\ListControlTests.cs (1)
105
Assert.Empty(control.
Text
);
System\Windows\Forms\MdiClientTests.cs (1)
82
Assert.Empty(control.
Text
);
System\Windows\Forms\MdiControlStripTests.cs (1)
142
Assert.Empty(mdiControlStrip.
Text
);
System\Windows\Forms\MenuStripTests.cs (1)
140
Assert.Empty(control.
Text
);
System\Windows\Forms\ScrollableControlTests.cs (1)
108
Assert.Empty(control.
Text
);
System\Windows\Forms\StatusStripTests.cs (1)
143
Assert.Empty(control.
Text
);
System\Windows\Forms\ToolStripControlHostTests.cs (4)
116
Assert.Equal(c.
Text
, item.Text);
670
Assert.Equal("Text", c.
Text
);
2257
Assert.Equal(expected, c.
Text
);
2263
Assert.Equal(expected, c.
Text
);
System\Windows\Forms\ToolStripDropDownTests.cs (9)
148
Assert.Empty(control.
Text
);
2676
Assert.Equal(expected, control.
Text
);
2681
Assert.Equal(expected, control.
Text
);
2699
Assert.Equal(expected, control.
Text
);
2707
Assert.Equal(expected, control.
Text
);
2729
Assert.Equal("text", control.
Text
);
2734
Assert.Equal("text", control.
Text
);
2739
Assert.Empty(control.
Text
);
2745
Assert.Equal("text", control.
Text
);
System\Windows\Forms\ToolStripTests.cs (2)
156
Assert.Empty(control.
Text
);
311
Assert.Empty(control.
Text
);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
566
HwndSourceParameters HWSParam = new HwndSourceParameters(this.
Text
, cp.Width, cp.Height)
1009
OnPropertyChanged("Text", this.
Text
);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
87
if (sender.
Text
== "Real Button Standard Pressed")