TypedTextBox
Wisej.Web.TypedTextBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a text box control that allows the user to enter a typed value.
public class TypedTextBox : TextBox
Constructors
TypedTextBox()

Initializes a new instance of TypedTextBox.
TypedTextBox(onTextChanged)

Initializes a new instance of the TypedTextBox class with specific initial settings.
TypedTextBox(label, onTextChanged)

Initializes a new instance of the TypedTextBox class with specific initial settings.
TypedTextBox(location, size, onTextChanged)

Initializes a new instance of the TypedTextBox class with specific initial settings.
TypedTextBox(label, location, size, onTextChanged)

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

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

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
)
KeepFormatOnEnter

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

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

Object: Returns or sets the value parsed to a ValueType object. (Default: null
)
ValueType

Type: Returns or sets the Type of the value of the TypedTextBox. (Default: System.String
)
Methods
OnCultureChanged(e)

Fires the CultureChanged event.
OnCustomFormatChanged(e)

Fires the CustomFormatChanged event.
OnEnter(e)

OnFormat(e)

Fires the Format event.
OnParse(e)

Fires the Parse event.
OnTextChanged(e)

Fires the TextChanged event.
OnValidating(e)

OnValueChanged(e)

Fires the ValueChanged event.
OnValueTypeChanged(e)

Fires the ValueTypeChanged event.
Events
CultureChanged

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

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

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

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

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

EventHandler Fired when the value of the ValueType property has changed.
Implements
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to the LabelWrapper associated with the controls that implement this interface.
Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?