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)
719
public override string
Text
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1083
public override string
Text
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3993
public override string
Text
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
821
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)
721
public override string
Text
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1056
public override string
Text
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1624
public override string
Text
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
830
public override string
Text
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
899
public override string
Text
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
445
public override string
Text
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1173
public override string
Text
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
446
public override string
Text
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
826
public override string
Text
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1077
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)
507
public override string
Text
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1274
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)
371
public override string
Text
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1355
public override string
Text
System\Windows\Forms\Form.cs (1)
2025
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)
325
public override string
Text
System\Windows\Forms\UserControl.cs (1)
204
public override string
Text
127 writes to Text
DemoConsole (2)
MainForm.cs (1)
448
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)
416
Text
= text;
9482
Text
= string.Empty;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
722
set => base.
Text
= value;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1116
base.
Text
= value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3996
set => base.
Text
= value;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
255
base.
Text
= value;
System\Windows\Forms\Controls\Labels\Label.cs (1)
724
set => base.
Text
= value;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1078
base.
Text
= value;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1627
set => base.
Text
= value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
833
set => base.
Text
= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
902
set => base.
Text
= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
448
set => base.
Text
= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
190
_toolStrip.
Text
= "PropertyGridToolBar";
1176
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)
144
Text
= "PropertyGridView";
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
449
set => base.
Text
= value;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
829
set => base.
Text
= value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1084
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)
510
set => base.
Text
= value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1277
set => base.
Text
= value;
System\Windows\Forms\Form.cs (1)
2028
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)
328
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
1930
Text
= name;
2052
Text
= e.NewName;
System\Windows\Forms\Design\DesignerFrame.cs (2)
39
Text
= "DesignerFrame";
352
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)
167
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)
715
MenuItem.DropDown.
Text
= $"{MenuItem.Name}.DropDown";
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
80
_contextMenu.
Text
= "CustomContextMenu";
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
268
templateNodeContextMenu.
Text
= "CustomContextMenu";
1276
_contextMenu.
Text
= "ItemSelectionMenu";
1380
_contextMenu.
Text
= "ItemSelectionMenu";
1454
_miniToolStrip.
Text
= text;
System.Windows.Forms.Tests (51)
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)
490
Text
= text
537
Text
= text
677
Text
= text
4957
control.
Text
= longString;
5231
control.
Text
= longString;
6541
control.
Text
= "Text";
System\Windows\Forms\ControlTests.Properties.cs (14)
11969
Text
= value
11975
control.
Text
= value;
11993
control.
Text
= value;
12001
control.
Text
= value;
12023
control.
Text
= "text";
12028
control.
Text
= "text";
12033
control.
Text
= null;
12039
control.
Text
= "text";
12052
control.
Text
= null;
12057
control.
Text
= string.Empty;
12062
control.
Text
= "text";
12079
control.
Text
= null;
12084
control.
Text
= string.Empty;
12089
control.
Text
= "text";
System\Windows\Forms\ControlTests_InvokeAsync.cs (1)
53
control.
Text
+= i.ToString();
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
))]
3217
if (value ==
Text
)
7555
_text =
Text
;
9235
$"RecreateHandle: {GetType().FullName} [Text={
Text
}]");
10767
/// Determines if the <see cref="
Text
"/> property needs to be persisted.
10772
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)
721
get => base.
Text
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1095
if (string.Compare(candidate, base.
Text
, true, CultureInfo.CurrentCulture) == 0)
1107
return base.
Text
;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3995
get => base.
Text
;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
823
get => base.
Text
;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
241
get => base.
Text
;
System\Windows\Forms\Controls\Labels\Label.cs (1)
723
get => base.
Text
;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1073
return base.
Text
;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1626
get => base.
Text
;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
832
get => base.
Text
;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
901
get => base.
Text
;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
447
get => base.
Text
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1175
get => base.
Text
;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
448
get => base.
Text
;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
828
get => base.
Text
;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1079
get => base.
Text
;
1082
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)
509
get => base.
Text
;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1276
get => base.
Text
;
System\Windows\Forms\Form.cs (1)
2027
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)
327
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)
2073
if (name is not null && name.Equals(c.
Text
))
System\Windows\Forms\Design\ComponentTray.cs (3)
1972
Size sz = Size.Ceiling(gr.MeasureString(
Text
, Font));
2277
e.Graphics.DrawString(
Text
, Font, foreBrush, rc, format);
2290
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)
94
Assert.Empty(control.
Text
);
183
Assert.Equal(expectedText, control.
Text
);
279
Assert.Equal(expectedText, control.
Text
);
375
Assert.Same(expectedText, control.
Text
);
471
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)
497
Assert.Equal(expectedText, control.
Text
);
544
Assert.Equal(expectedText, control.
Text
);
549
Assert.Equal(expectedText, control.
Text
);
556
Assert.Equal(expectedText, control.
Text
);
684
Assert.Equal(expectedText, control.
Text
);
4958
Assert.Equal(longString, control.
Text
);
4963
Assert.Empty(control.
Text
);
4965
Assert.Empty(control.
Text
);
5232
Assert.Equal(longString, control.
Text
);
5237
Assert.Empty(control.
Text
);
5239
Assert.Empty(control.
Text
);
6538
Assert.Empty(control.
Text
);
6543
Assert.Empty(control.
Text
);
6547
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlTests.Properties.cs (18)
11971
Assert.Equal(expected, control.
Text
);
11976
Assert.Equal(expected, control.
Text
);
11994
Assert.Equal(expected, control.
Text
);
12002
Assert.Equal(expected, control.
Text
);
12024
Assert.Equal("text", control.
Text
);
12029
Assert.Equal("text", control.
Text
);
12034
Assert.Empty(control.
Text
);
12040
Assert.Equal("text", control.
Text
);
12047
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Text
)];
12053
Assert.Empty(control.
Text
);
12058
Assert.Empty(control.
Text
);
12063
Assert.Equal("text", control.
Text
);
12067
Assert.Empty(control.
Text
);
12074
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Text
)];
12080
Assert.Empty(control.
Text
);
12085
Assert.Empty(control.
Text
);
12090
Assert.Equal("text", control.
Text
);
12094
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)
1006
OnPropertyChanged("Text", this.
Text
);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
87
if (sender.
Text
== "Real Button Standard Pressed")