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