6 types derived from TextBox
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
6public partial class DataGridViewTextBoxEditingControl : TextBox, IDataGridViewEditingControl
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
11private sealed partial class GridViewTextBox : TextBox, IMouseHookClient
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
12private class ToolStripTextBoxControl : TextBox
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridTextBox.cs (1)
26public class DataGridTextBox : TextBox
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
10internal partial class UpDownEdit : TextBox
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1485private class TemplateTextBox : TextBox
43 instantiations of TextBox
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
40TextBox = New TextBox
PresentationUI (28)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (22)
42this._language = new System.Windows.Forms.TextBox(); 43this._title = new System.Windows.Forms.TextBox(); 45this._identifier = new System.Windows.Forms.TextBox(); 52this._version = new System.Windows.Forms.TextBox(); 54this._category = new System.Windows.Forms.TextBox(); 55this._status = new System.Windows.Forms.TextBox(); 56this._content = new System.Windows.Forms.TextBox(); 58this._author = new System.Windows.Forms.TextBox(); 59this._subject = new System.Windows.Forms.TextBox(); 60this._description = new System.Windows.Forms.TextBox(); 61this._keywords = new System.Windows.Forms.TextBox(); 67this._size = new System.Windows.Forms.TextBox(); 69this._filename = new System.Windows.Forms.TextBox(); 70this._documentType = new System.Windows.Forms.TextBox(); 74this._documentPrintedDate = new System.Windows.Forms.TextBox(); 75this._documentModifiedDate = new System.Windows.Forms.TextBox(); 76this._documentCreatedDate = new System.Windows.Forms.TextBox(); 77this._revision = new System.Windows.Forms.TextBox(); 83this._lastSaved = new System.Windows.Forms.TextBox(); 86this._fileModifiedDate = new System.Windows.Forms.TextBox(); 87this._fileAccessedDate = new System.Windows.Forms.TextBox(); 90this._fileCreatedDate = new System.Windows.Forms.TextBox();
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
41_requestedLocationTextBox = new System.Windows.Forms.TextBox(); 45_requestedSignerNameTextBox = new System.Windows.Forms.TextBox();
MS\Internal\Documents\RMPublishingDialog.Designer.cs (3)
43this.textBoxUnrestrictedText = new System.Windows.Forms.TextBox(); 48this.textBoxUserName = new System.Windows.Forms.TextBox(); 58this.textBoxPermissionsContact = new System.Windows.Forms.TextBox();
MS\Internal\Documents\SigningDialog.Designer.cs (1)
44_locationTextBox = new System.Windows.Forms.TextBox();
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
248_detailsTextBox = new()
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1118using TextBox txtBox = new();
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
65private readonly TextBox _details = new();
System.Windows.Forms.Design (11)
System\ComponentModel\Design\ByteViewer.cs (1)
453_edit = new TextBox
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
47_textBox = new TextBox
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
274_nameTextBox = new TextBox(); 278_headerTextBox = new TextBox();
System\Windows\Forms\Design\FormatControl.cs (2)
17private TextBox _customStringTextBox = new(); 308_customStringTextBox = new TextBox
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
43nullValueTextBox = new System.Windows.Forms.TextBox();
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (2)
17private TextBox _sampleEdit = new(); 53_sampleEdit = new TextBox();
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
133_txtBoxMask = new TextBox();
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
78_textEntry = new TextBox();
75 references to TextBox
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
20Private TextBox As TextBox
PresentationUI (28)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (22)
775private System.Windows.Forms.TextBox _size; 776private System.Windows.Forms.TextBox _fileAccessedDate; 777private System.Windows.Forms.TextBox _fileCreatedDate; 783private System.Windows.Forms.TextBox _documentType; 788private System.Windows.Forms.TextBox _lastSaved; 794private System.Windows.Forms.TextBox _filename; 797private System.Windows.Forms.TextBox _identifier; 799private System.Windows.Forms.TextBox _category; 801private System.Windows.Forms.TextBox _version; 805private System.Windows.Forms.TextBox _subject; 806private System.Windows.Forms.TextBox _description; 808private System.Windows.Forms.TextBox _status; 810private System.Windows.Forms.TextBox _content; 812private System.Windows.Forms.TextBox _keywords; 814private System.Windows.Forms.TextBox _author; 818private System.Windows.Forms.TextBox _title; 819private System.Windows.Forms.TextBox _language; 821private System.Windows.Forms.TextBox _documentPrintedDate; 822private System.Windows.Forms.TextBox _documentModifiedDate; 823private System.Windows.Forms.TextBox _documentCreatedDate; 824private System.Windows.Forms.TextBox _revision; 826private System.Windows.Forms.TextBox _fileModifiedDate;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
248private System.Windows.Forms.TextBox _requestedSignerNameTextBox; 250private System.Windows.Forms.TextBox _requestedLocationTextBox;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (3)
408private System.Windows.Forms.TextBox textBoxUnrestrictedText; 413private System.Windows.Forms.TextBox textBoxUserName; 423private System.Windows.Forms.TextBox textBoxPermissionsContact;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
291private System.Windows.Forms.TextBox _locationTextBox;
System.Windows.Forms (21)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (3)
127if (dataGridView.EditingControl is TextBox textBox) 143if (DataGridView.EditingControl is TextBox txtEditingControl) 511if (DataGridView.EditingControl is TextBox textBox)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
23private TextBox _detailsTextBox;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1118using TextBox txtBox = new();
System\Windows\Forms\Controls\TextBox\TextBox.cs (4)
84/// Gets or sets a value indicating whether pressing ENTER in a multiline <see cref="TextBox"/> 365/// appear in a multiline <see cref="TextBox"/> 429/// Gets or sets how text is aligned in a <see cref="TextBox"/> control. 845/// Draws the <see cref="PlaceholderText"/> in the client area of the <see cref="TextBox"/> using the default font and color.
System\Windows\Forms\Controls\TextBox\TextBox.TextBoxAccessibleObject.cs (2)
13public TextBoxAccessibleObject(TextBox owner) : base(owner) 21string? placeholderText = this.TryGetOwnerAs(out TextBox? owner) ? owner.PlaceholderText : null;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
277? new string(Owner is TextBox textBox
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (4)
81public TextBox TextBox => (TextBox)Control; 124if (control is TextBox textBox) 141if (control is TextBox textBox)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControlAccessibleObject.cs (2)
14public ToolStripTextBoxControlAccessibleObject(TextBox toolStripHostedControl) : base(toolStripHostedControl) 25UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId when this.TryGetOwnerAs(out TextBox? owner) => (VARIANT)GetIsOffscreenPropertyValue(owner.ToolStripControlHost?.Placement, Bounds),
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridTextBoxColumn.cs (1)
35public virtual TextBox TextBox => throw null;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
413internal TextBox TextBox => _upDownEdit;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
65private readonly TextBox _details = new();
System.Windows.Forms.Design (25)
System\ComponentModel\Design\ByteViewer.cs (1)
43private TextBox _edit;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
13private readonly TextBox _textBox; 112int specialPadding = EditControl is TextBox ? 2 : 0;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
20private TextBox _nameTextBox; 24private TextBox _headerTextBox;
System\Windows\Forms\Design\FormatControl.cs (1)
17private TextBox _customStringTextBox = new();
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
205private System.Windows.Forms.TextBox nullValueTextBox;
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
17private TextBox _sampleEdit = new();
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
24private TextBox _txtBoxMask;
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
18private TextBox _textEntry;
System\Windows\Forms\Design\TextBoxActionList.cs (2)
11private readonly TextBox _textBox; 16_textBox = (TextBox)designer.Component;
System\Windows\Forms\Design\TextBoxDesigner.cs (4)
75TextBox tb = (Control as TextBox)!; 89TextBox tb = (Control as TextBox)!;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (9)
303internal TextBox EditBox 305get => (_centerTextBox is not null) ? (TextBox)_centerTextBox.Control : null; 714string text = ((TextBox)(_centerTextBox.Control)).Text; 786string text = (_centerTextBox is not null) ? ((TextBox)(_centerTextBox.Control)).Text : string.Empty; 833TextBox tb = new TemplateTextBox(_miniToolStrip, this) 910((TextBox)(_centerTextBox.Control)).KeyUp -= OnKeyUp; 911((TextBox)(_centerTextBox.Control)).KeyDown -= OnKeyDown; 1066if (sender is TextBox t) 1083string text = ((TextBox)(_centerTextBox.Control)).Text;