26 overrides of Text
System.Windows.Forms (26)
System\Windows\Forms\ActiveX\AxHost.cs (1)
368
public override string
Text
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
661
public override string
Text
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1077
public override string
Text
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3986
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)
1622
public override string
Text
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
835
public override string
Text
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
902
public override string
Text
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
448
public override string
Text
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
447
public override string
Text
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
823
public override string
Text
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1070
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)
1276
public override string
Text
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
373
public override string
Text
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1361
public override string
Text
System\Windows\Forms\Form.cs (1)
1948
public override string
Text
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
836
public override string
Text
System\Windows\Forms\Panels\Panel.cs (1)
198
public override string
Text
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
270
public override string
Text
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
332
public override string
Text
System\Windows\Forms\UserControl.cs (1)
204
public override string
Text
125 writes to Text
Accessibility_Core_App (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";
DesignSurface (2)
MainForm.cs (1)
387
view.
Text
= $"Test Form N. {n}";
MainForm.Designer.cs (1)
172
this.menuStrip1.
Text
= "menuStrip1";
PresentationUI (2)
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (2)
153
control.
Text
= String.IsNullOrEmpty(text) ?
170
control.
Text
= (!date.HasValue) ?
System.Windows.Forms (33)
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)
403
Text
= text;
9344
Text
= string.Empty;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
664
set => base.
Text
= value;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1110
base.
Text
= value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3989
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)
1625
set => base.
Text
= value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
838
set => base.
Text
= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
905
set => base.
Text
= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
451
set => base.
Text
= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
188
_toolStrip.
Text
= "PropertyGridToolBar";
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)
450
set => base.
Text
= value;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
826
set => base.
Text
= value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1077
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)
1279
set => base.
Text
= value;
System\Windows\Forms\Form.cs (1)
1951
set => base.
Text
= value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
839
set => base.
Text
= value;
System\Windows\Forms\Panels\Panel.cs (1)
201
set => base.
Text
= value;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
273
set => base.
Text
= value;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
335
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)
203
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)
280
templateNodeContextMenu.
Text
= "CustomContextMenu";
1324
_contextMenu.
Text
= "ItemSelectionMenu";
1428
_contextMenu.
Text
= "ItemSelectionMenu";
1502
_miniToolStrip.
Text
= text;
System.Windows.Forms.Tests (50)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (16)
331
Text
= text
346
Text
= text
361
Text
= text
431
Text
= text
456
Text
= text
480
Text
= text
531
Text
= text
547
Text
= text
563
Text
= text
672
Text
= text
698
Text
= text
723
Text
= text
1271
control.
Text
= "&Name";
1662
control.
Text
= "&control";
1693
control.
Text
= "control";
1706
control.
Text
= "&control";
System\Windows\Forms\ControlTests.Handlers.cs (4)
2238
Text
= text
2388
Text
= text
2519
Text
= text
4751
control.
Text
= longString;
System\Windows\Forms\ControlTests.Methods.cs (6)
476
Text
= text
523
Text
= text
663
Text
= text
4975
control.
Text
= longString;
5249
control.
Text
= longString;
6559
control.
Text
= "Text";
System\Windows\Forms\ControlTests.Properties.cs (14)
11965
Text
= value
11971
control.
Text
= value;
11989
control.
Text
= value;
11997
control.
Text
= value;
12019
control.
Text
= "text";
12024
control.
Text
= "text";
12029
control.
Text
= null;
12035
control.
Text
= "text";
12048
control.
Text
= null;
12053
control.
Text
= string.Empty;
12058
control.
Text
= "text";
12075
control.
Text
= null;
12080
control.
Text
= string.Empty;
12085
control.
Text
= "text";
System\Windows\Forms\ToolStripControlHostTests.cs (2)
36
Text
= "text"
667
c.
Text
= "Text";
System\Windows\Forms\ToolStripDropDownTests.cs (8)
2672
Text
= value
2678
control.
Text
= value;
2696
control.
Text
= value;
2704
control.
Text
= value;
2726
control.
Text
= "text";
2731
control.
Text
= "text";
2736
control.
Text
= null;
2742
control.
Text
= "text";
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\ToolStripItemTests.Dpi.cs (1)
44
toolStrip.
Text
= "toolStrip1";
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";
146 references to Text
System.Windows.Forms (40)
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (1)
327
=> accessibleObject.Owner?.
Text
?? defaultText;
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
351
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)
721
char mnemonic = WindowsFormsUtils.GetMnemonic(control.
Text
, true);
System\Windows\Forms\Control.cs (6)
33
[DefaultProperty(nameof(
Text
))]
3129
if (value ==
Text
)
7425
_text =
Text
;
9115
Debug.WriteLineIf(CoreSwitches.PerfTrack.Enabled, $"RecreateHandle: {GetType().FullName} [Text={
Text
}]");
10626
/// Determines if the <see cref="
Text
"/> property needs to be persisted.
10631
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)
663
get => base.
Text
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1089
if (string.Compare(candidate, base.
Text
, true, CultureInfo.CurrentCulture) == 0)
1101
return base.
Text
;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3988
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)
1624
get => base.
Text
;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
837
get => base.
Text
;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
904
get => base.
Text
;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
450
get => base.
Text
;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
449
get => base.
Text
;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
825
get => base.
Text
;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1072
get => base.
Text
;
1075
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)
1278
get => base.
Text
;
System\Windows\Forms\Form.cs (1)
1950
get => base.
Text
;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
838
get => base.
Text
;
System\Windows\Forms\Panels\Panel.cs (1)
200
get => base.
Text
;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
272
get => base.
Text
;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
334
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.Tests (94)
System\Windows\Forms\ContainerControlTests.cs (1)
113
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlBindingsCollectionTests.cs (27)
50
yield return new object[] { new Binding(nameof(Control.
Text
), new object(), "dataMember") };
73
Binding binding3 = new(nameof(Control.
Text
), 1, "dataMember");
78
Binding binding4 = new(nameof(Control.
Text
), 1, "dataMember");
92
Binding binding = new(nameof(Control.
Text
), 1, "dataMember");
102
Binding binding1 = new(nameof(SubControl.
Text
), 1, "dataMember");
126
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember");
129
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
143
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true);
146
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
160
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged);
163
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
177
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null");
180
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
194
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString");
197
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
211
Binding binding = collection.Add(nameof(Control.
Text
), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture);
214
Assert.Equal(nameof(Control.
Text
), binding.PropertyName);
255
Binding binding = new(nameof(Control.
Text
), new object(), "dataMember");
258
Assert.Throws<ArgumentException>("binding", () => collection.Add(new Binding(nameof(Control.
Text
), new object(), "dataMember")));
259
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember"));
260
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true));
261
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged));
262
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null"));
263
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString"));
264
Assert.Throws<ArgumentException>("binding", () => collection.Add(nameof(Control.
Text
), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture));
400
Binding binding = new(nameof(Control.
Text
), new object(), "member");
413
Binding binding = new(nameof(Control.
Text
), new object(), "member");
System\Windows\Forms\ControlTests.cs (5)
91
Assert.Empty(control.
Text
);
180
Assert.Equal(expectedText, control.
Text
);
276
Assert.Equal(expectedText, control.
Text
);
372
Assert.Same(expectedText, control.
Text
);
468
Assert.Same(expectedText, control.
Text
);
System\Windows\Forms\ControlTests.Handlers.cs (9)
2256
Assert.Equal(expectedText, control.
Text
);
2264
Assert.Equal(expectedText, control.
Text
);
2404
Assert.Equal(expectedText, control.
Text
);
2412
Assert.Equal(expectedText, control.
Text
);
2537
Assert.Equal(expectedText, control.
Text
);
2545
Assert.Equal(expectedText, control.
Text
);
4752
Assert.Equal(longString, control.
Text
);
4757
Assert.Empty(control.
Text
);
4764
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlTests.Methods.cs (14)
483
Assert.Equal(expectedText, control.
Text
);
530
Assert.Equal(expectedText, control.
Text
);
535
Assert.Equal(expectedText, control.
Text
);
542
Assert.Equal(expectedText, control.
Text
);
670
Assert.Equal(expectedText, control.
Text
);
4976
Assert.Equal(longString, control.
Text
);
4981
Assert.Empty(control.
Text
);
4983
Assert.Empty(control.
Text
);
5250
Assert.Equal(longString, control.
Text
);
5255
Assert.Empty(control.
Text
);
5257
Assert.Empty(control.
Text
);
6556
Assert.Empty(control.
Text
);
6561
Assert.Empty(control.
Text
);
6565
Assert.Empty(control.
Text
);
System\Windows\Forms\ControlTests.Properties.cs (18)
11967
Assert.Equal(expected, control.
Text
);
11972
Assert.Equal(expected, control.
Text
);
11990
Assert.Equal(expected, control.
Text
);
11998
Assert.Equal(expected, control.
Text
);
12020
Assert.Equal("text", control.
Text
);
12025
Assert.Equal("text", control.
Text
);
12030
Assert.Empty(control.
Text
);
12036
Assert.Equal("text", control.
Text
);
12043
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Text
)];
12049
Assert.Empty(control.
Text
);
12054
Assert.Empty(control.
Text
);
12059
Assert.Equal("text", control.
Text
);
12063
Assert.Empty(control.
Text
);
12070
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Text
)];
12076
Assert.Empty(control.
Text
);
12081
Assert.Empty(control.
Text
);
12086
Assert.Equal("text", control.
Text
);
12090
Assert.Empty(control.
Text
);
System\Windows\Forms\ListControlTests.cs (1)
103
Assert.Empty(control.
Text
);
System\Windows\Forms\MdiClientTests.cs (1)
80
Assert.Empty(control.
Text
);
System\Windows\Forms\MenuStripTests.cs (1)
138
Assert.Empty(control.
Text
);
System\Windows\Forms\ScrollableControlTests.cs (1)
106
Assert.Empty(control.
Text
);
System\Windows\Forms\StatusStripTests.cs (1)
141
Assert.Empty(control.
Text
);
System\Windows\Forms\ToolStripControlHostTests.cs (4)
114
Assert.Equal(c.
Text
, item.Text);
668
Assert.Equal("Text", c.
Text
);
2255
Assert.Equal(expected, c.
Text
);
2261
Assert.Equal(expected, c.
Text
);
System\Windows\Forms\ToolStripDropDownTests.cs (9)
146
Assert.Empty(control.
Text
);
2674
Assert.Equal(expected, control.
Text
);
2679
Assert.Equal(expected, control.
Text
);
2697
Assert.Equal(expected, control.
Text
);
2705
Assert.Equal(expected, control.
Text
);
2727
Assert.Equal("text", control.
Text
);
2732
Assert.Equal("text", control.
Text
);
2737
Assert.Empty(control.
Text
);
2743
Assert.Equal("text", control.
Text
);
System\Windows\Forms\ToolStripTests.cs (2)
154
Assert.Empty(control.
Text
);
309
Assert.Empty(control.
Text
);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
576
HwndSourceParameters HWSParam = new HwndSourceParameters(this.
Text
, cp.Width, cp.Height);
1018
OnPropertyChanged("Text", this.
Text
);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
87
if (sender.
Text
== "Real Button Standard Pressed")