TextBox

Wisej.Web.TextBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a text box control that allows the user to enter any value.

public class TextBox : TextBoxBase

Constructors

Initializes a new instance of the TextBox class with default settings.

Initializes a new instance of the TextBox class with specific initial settings.

Initializes a new instance of the TextBox class with specific initial settings.

Initializes a new instance of the TextBox class with specific initial settings.

Initializes a new instance of the TextBox class with specific initial settings.

Properties

Boolean: Returns or sets whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default accept button for the Form or Page. (Default: False)

If there is no accept button for the Form or Page, the ENTER key will always create a new line of text in the control, regardless of the value of this property. If the value of this property is false and there is an accept button defined on the AcceptButton or AcceptButton, the user must press SHIFT+ENTER to create a new line in a multiline TextBox control.

CharacterCasing: Returns or sets whether the TextBox control modifies the case of characters as they are typed. (Default: Normal)

Boolean: Returns whether the textbox with InputType set to Checkbox or Radio is checked.

String: Returns or sets a JavaScript regular expression that limits the characters that the user can type. (Default: null)

InputType: Specifies the type, min, max and step properties to associate to the <input> element.

Char: Returns or sets the character used to mask characters of a password in a single-line TextBox control. (Default: "\0")

This property only enables/disables the password mode for the textbox. It doesn't change the password masking character used by the browser.

ScrollBars: Returns or sets which scroll bars should appear. (Default: Both)

Boolean: Returns or sets whether the text in the TextBox is spell checked by the browser. (Default: False)

String: Returns or sets the current text in the text box. (Default: "")

HorizontalAlignment: Returns or sets how text is aligned in a TextBox control. (Default: Left)

Methods

Resets the InputType property.

Events

EventHandler Fired when the value of the Checked property changes.

EventHandler Fired when the value of the TextAlign property has changed.

Inherited By

Implements

Last updated