The properties of System.Windows.Forms.TextBoxBase are listed below. For a list of all members, see the TextBoxBase Members list.
See Also: Inherited members from System.Windows.Forms.Control
AcceptsTab | bool.
Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order. | |
override | AutoSize | bool.
Gets or sets a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed. |
override | BackColor | System.Drawing.Color.
Gets or sets the background color of the control. |
override | BackgroundImage | System.Drawing.Image.
This property is not relevant for this class. |
override | BackgroundImageLayout | ImageLayout.
This property is not relevant for this class. |
BorderStyle | BorderStyle.
Gets or sets the border type of the text box control. | |
[read-only] | CanUndo | bool.
Gets a value indicating whether the user can undo the previous operation in a text box control. |
override | ForeColor | System.Drawing.Color.
Gets or sets the foreground color of the control. |
HideSelection | bool.
Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. | |
Lines | string[].
Gets or sets the lines of text in a text box control. | |
MaxLength | int.
Gets or sets the maximum number of characters the user can type or paste into the text box control. | |
Modified | bool.
Gets or sets a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set. | |
Multiline | bool.
Gets or sets a value indicating whether this is a multiline text box control. | |
Padding | Padding.
This property is not relevant for this class. | |
[read-only] | PreferredHeight | int.
Gets the preferred height for a text box. |
ReadOnly | bool.
Gets or sets a value indicating whether text in the text box is read-only. | |
SelectedText | string.
Gets or sets a value indicating the currently selected text in the control. | |
SelectionLength | int.
Gets or sets the number of characters selected in the text box. | |
SelectionStart | int.
Gets or sets the starting point of text selected in the text box. | |
ShortcutsEnabled | bool.
Gets or sets a value indicating whether the defined shortcuts are enabled. | |
override | Text | string.
Gets or sets the current text in the text box. |
[read-only] | TextLength | int.
Gets the length of text in the control. |
WordWrap | bool.
Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. |
[read-only] override | CanEnableIme | bool.
Gets a value indicating whether the Control.ImeMode property can be set to an active value, to enable IME support. |
[read-only] override | CreateParams | CreateParams. Documentation for this section has not yet been entered. |
[read-only] override | DefaultCursor | Cursor.
Gets or sets the default cursor for the control. |
[read-only] override | DefaultSize | System.Drawing.Size. Documentation for this section has not yet been entered. |
override | DoubleBuffered | bool.
Gets or sets a value indicating whether control drawing is done in a buffer before the control is displayed. This property is not relevant for this class. |