30 overrides of Text
System.Windows.Forms (30)
System\Windows\Forms\ActiveX\AxHost.cs (1)
369public override string Text
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
719public override string Text
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1083public override string Text
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3993public override string Text
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
821public override string Text
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
239public override string Text
System\Windows\Forms\Controls\Labels\Label.cs (1)
721public override string Text
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1056public override string Text
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1624public override string Text
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
830public override string Text
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
899public override string Text
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
455public override string Text
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1173public override string Text
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
446public override string Text
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
826public override string Text
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1077public override string Text
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
341public override string Text
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
507public override string Text
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1274public override string Text
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGrid.cs (1)
446public override string Text
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.cs (1)
116public override string Text { get => throw null; set { } }
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.cs (1)
172public override string Text
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
371public override string Text
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1355public override string Text
System\Windows\Forms\Form.cs (1)
2025public override string Text
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
836public override string Text
System\Windows\Forms\Panels\Panel.cs (1)
194public override string Text
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
270public override string Text
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
325public override string Text
System\Windows\Forms\UserControl.cs (1)
204public override string Text
58 writes to Text
PresentationUI (2)
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (2)
143control?.Text = String.IsNullOrEmpty(text) ? 157control?.Text = (!date.HasValue) ?
System.Windows.Forms (34)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
281control.Text = value;
System\Windows\Forms\Application.ParkingWindow.cs (1)
27Text = "WindowsFormsParkingWindow";
System\Windows\Forms\Control.cs (2)
416Text = text; 9482Text = string.Empty;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
722set => base.Text = value;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1116base.Text = value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3996set => base.Text = value;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
255base.Text = value;
System\Windows\Forms\Controls\Labels\Label.cs (1)
724set => base.Text = value;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1078base.Text = value;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1627set => base.Text = value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
833set => base.Text = value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
902set => base.Text = value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
458set => base.Text = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
190_toolStrip.Text = "PropertyGridToolBar"; 1176set => base.Text = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
37Text = "Command Pane";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
56Text = SR.PropertyGridHelpPaneTitle;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
144Text = "PropertyGridView";
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
449set => base.Text = value;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
829set => base.Text = value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1084base.Text = value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
91owner.Text = newValue;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
406set => ControlInternal.Text = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
344set => base.Text = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
214Control.Text = value;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
510set => base.Text = value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1277set => base.Text = value;
System\Windows\Forms\Form.cs (1)
2028set => base.Text = value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
839set => base.Text = value;
System\Windows\Forms\Panels\Panel.cs (1)
197set => base.Text = value;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
273set => base.Text = value;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
328set => base.Text = value;
System\Windows\Forms\UserControl.cs (1)
207set => base.Text = value;
System.Windows.Forms.Design (22)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
286protected override void OnValueChanged() => EditControl!.Text = PropertyDescriptor.Converter.ConvertToString(TypeDescriptorContext, Value);
System\ComponentModel\Design\DesignerActionUI.cs (1)
702Text = "DesignerActionTopLevelForm"
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
30Text = "AdornerWindow";
System\Windows\Forms\Design\ComponentTray.cs (3)
82Text = "ComponentTray"; // makes debugging easier 1930Text = name; 2052Text = e.NewName;
System\Windows\Forms\Design\DesignerFrame.cs (2)
39Text = "DesignerFrame"; 352Text = "OverlayControl";
System\Windows\Forms\Design\RichTextBoxDesigner.cs (1)
105Control.Text = value;
System\Windows\Forms\Design\SelectionUIService.cs (1)
70Text = "SelectionUIOverlay";
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (2)
66Control.Text = value; 82Control.Text = string.Empty;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
167Text = "ToolStripAdornerWindow";
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (1)
33_contextMenu.Text = "CustomContextMenu";
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
200Text = "CustomContextMenu"
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
92toolStripContextMenu.Text = "CustomContextMenu";
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
715MenuItem.DropDown.Text = $"{MenuItem.Name}.DropDown";
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
80_contextMenu.Text = "CustomContextMenu";
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
268templateNodeContextMenu.Text = "CustomContextMenu"; 1276_contextMenu.Text = "ItemSelectionMenu"; 1380_contextMenu.Text = "ItemSelectionMenu"; 1454_miniToolStrip.Text = text;
52 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)
350string text = owner.Text;
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
276get => GetControl()?.Text ?? string.Empty;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
713char mnemonic = WindowsFormsUtils.GetMnemonic(control.Text, true);
System\Windows\Forms\Control.cs (6)
32[DefaultProperty(nameof(Text))] 3217if (value == Text) 7555_text = Text; 9235$"RecreateHandle: {GetType().FullName} [Text={Text}]"); 10767/// Determines if the <see cref="Text"/> property needs to be persisted. 10772return Text.Length != 0;
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (2)
34if ((!useMnemonic || !WindowsFormsUtils.ContainsMnemonic(control.Text)) && previousLabel is not null && previousLabel.UseMnemonic) 40mnemonic = WindowsFormsUtils.GetMnemonic(control.Text, convertToUpperCase: false);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
721get => base.Text;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1095if (string.Compare(candidate, base.Text, true, CultureInfo.CurrentCulture) == 0) 1107return base.Text;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3995get => base.Text;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
823get => base.Text;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
241get => base.Text;
System\Windows\Forms\Controls\Labels\Label.cs (1)
723get => base.Text;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1073return base.Text;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1626get => base.Text;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
832get => base.Text;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
901get => base.Text;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
457get => base.Text;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1175get => base.Text;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
448get => base.Text;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
828get => base.Text;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1079get => base.Text; 1082if (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)
405get => ControlInternal.Text;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
343get => base.Text;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
210return Control.Text;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
509get => base.Text;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1276get => base.Text;
System\Windows\Forms\Form.cs (1)
2027get => base.Text;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
838get => base.Text;
System\Windows\Forms\Panels\Panel.cs (1)
196get => base.Text;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
272get => base.Text;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
327get => base.Text;
System\Windows\Forms\UserControl.cs (1)
206get => base.Text;
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
312SetValue(EditControl!.Text); 356public override string? Value => Owner?.Text;
System\Windows\Forms\Design\CommandSet.cs (1)
2074if (name is not null && name.Equals(c.Text))
System\Windows\Forms\Design\ComponentTray.cs (3)
1972Size sz = Size.Ceiling(gr.MeasureString(Text, Font)); 2277e.Graphics.DrawString(Text, Font, foreBrush, rc, format); 2290e.Graphics.DrawString(Text, Font, foreBrush, rc);
System\Windows\Forms\Design\RichTextBoxDesigner.cs (2)
93return Control.Text; 97string oldText = Control.Text;
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
63get => Control.Text;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
566HwndSourceParameters HWSParam = new HwndSourceParameters(this.Text, cp.Width, cp.Height) 1006OnPropertyChanged("Text", this.Text);