System.Windows.Forms.TextBoxBase: Property Members

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

Public Properties

AcceptsTabbool.

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
AutoSizebool.

Gets or sets a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color of the control.

override
BackgroundImageSystem.Drawing.Image.

This property is not relevant for this class.

override
BackgroundImageLayoutImageLayout.

This property is not relevant for this class.

BorderStyleBorderStyle.

Gets or sets the border type of the text box control.

[read-only]
CanUndobool.

Gets a value indicating whether the user can undo the previous operation in a text box control.

override
ForeColorSystem.Drawing.Color.

Gets or sets the foreground color of the control.

HideSelectionbool.

Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.

Linesstring[].

Gets or sets the lines of text in a text box control.

MaxLengthint.

Gets or sets the maximum number of characters the user can type or paste into the text box control.

Modifiedbool.

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.

Multilinebool.

Gets or sets a value indicating whether this is a multiline text box control.

PaddingPadding.

This property is not relevant for this class.

[read-only]
PreferredHeightint.

Gets the preferred height for a text box.

ReadOnlybool.

Gets or sets a value indicating whether text in the text box is read-only.

SelectedTextstring.

Gets or sets a value indicating the currently selected text in the control.

SelectionLengthint.

Gets or sets the number of characters selected in the text box.

SelectionStartint.

Gets or sets the starting point of text selected in the text box.

ShortcutsEnabledbool.

Gets or sets a value indicating whether the defined shortcuts are enabled.

override
Textstring.

Gets or sets the current text in the text box.

[read-only]
TextLengthint.

Gets the length of text in the control.

WordWrapbool.

Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary.

Protected Properties

[read-only]
override
CanEnableImebool.

Gets a value indicating whether the Control.ImeMode property can be set to an active value, to enable IME support.

[read-only]
override
CreateParamsCreateParams. Documentation for this section has not yet been entered.
[read-only]
override
DefaultCursorCursor.

Gets or sets the default cursor for the control.

[read-only]
override
DefaultSizeSystem.Drawing.Size. Documentation for this section has not yet been entered.
override
DoubleBufferedbool.

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.