TypedTextBox
Wisej.Web.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.
Constructors
TypedTextBox()
Initializes a new instance of TypedTextBox.
TypedTextBox(onTextChanged)
Initializes a new instance of the TypedTextBox class with specific initial settings.
Name | Type | Description |
---|---|---|
onTextChanged | Handler for the TextChanged event. |
TypedTextBox(label, onTextChanged)
Initializes a new instance of the TypedTextBox class with specific initial settings.
Name | Type | Description |
---|---|---|
label | The initial text to display in the TypedTextBox label. | |
onTextChanged | Handler for the TextChanged event. |
TypedTextBox(location, size, onTextChanged)
Initializes a new instance of the TypedTextBox class with specific initial settings.
Name | Type | Description |
---|---|---|
location | The location of the TypedTextBox on its parent control. | |
size | The size of the TypedTextBox. | |
onTextChanged | Handler for the TextChanged event. |
TypedTextBox(label, location, size, onTextChanged)
Initializes a new instance of the TypedTextBox class with specific initial settings.
Name | Type | Description |
---|---|---|
label | The initial text to display in the TypedTextBox label. | |
location | The location of the TypedTextBox on its parent control. | |
size | The size of the TypedTextBox. | |
onTextChanged | Handler for the TextChanged event. |
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.
ValueType
Type: Returns or sets the Type of the value of the TypedTextBox.
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
Name | Description |
---|---|
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 ReadOnly property for coontrols that support the read-only mode. | |
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