Skip to main content
Version: 3.5

TypedTextBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

public class TypedTextBox : TextBox

Constructors

Instance memberTypedTextBox()

Initializes a new instance of TypedTextBox.

Instance memberTypedTextBox(onTextChanged)

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

NameTypeDescription
onTextChangedAction<Object, EventArgs>Handler for the TextChanged event.

Instance memberTypedTextBox(label, onTextChanged)

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

NameTypeDescription
labelStringThe initial text to display in the TypedTextBox label.
onTextChangedAction<Object, EventArgs>Handler for the TextChanged event.

Instance memberTypedTextBox(location, size, onTextChanged)

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

NameTypeDescription
locationPointThe location of the TypedTextBox on its parent control.
sizeSizeThe size of the TypedTextBox.
onTextChangedAction<Object, EventArgs>Handler for the TextChanged event.

Instance memberTypedTextBox(label, location, size, onTextChanged)

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

NameTypeDescription
labelStringThe initial text to display in the TypedTextBox label.
locationPointThe location of the TypedTextBox on its parent control.
sizeSizeThe size of the TypedTextBox.
onTextChangedAction<Object, EventArgs>Handler for the TextChanged event.

Properties

Instance memberCulture

CultureInfo: Returns or sets the culture used to parse and format the typed value.

Instance memberCustomFormat

String: Returns or sets the format string to use when formatting the value to display in the editor control. Supports all .NET format types, see formatting-types. (Default: null)

Instance memberKeepFormatOnEnter

Boolean: Returns or sets whether the formatted text should be preserved when the editor gains the focus. (Default: True)

Instance memberText

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

Instance memberValue

Object: Returns or sets the value parsed to a ValueType object.

Instance memberValueType

Type: Returns or sets the Type of the value of the TypedTextBox.

Events

Instance memberCultureChanged

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

Instance memberCustomFormatChanged

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

Instance memberFormat

ConvertEventHandler Fired when the value control formats the typed Value to display it to the user.

Instance memberParse

ConvertEventHandler Fired when the control parses the text into the typed Value.

Instance memberValueChanged

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

Instance memberValueTypeChanged

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

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IModifiedProvides access to the Modified property and ModifiedChanged event for controls that implement this interface.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.