Wisej.Web.NumericUpDown
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a spinner control that displays numeric values.
Initializes a new instance of the NumericUpDown class.
Initializes a new instance of the NumericUpDown class with specific initial settings.
onValueChanged
Initializes a new instance of the NumericUpDown class with specific initial settings.
label
onValueChanged
Initializes a new instance of the NumericUpDown class with specific initial settings.
location
The Point specifying the upper-left corner of the NumericUpDown control relative to the upper-left corner of its container.
size
The Size of the NumericUpDown control.
onValueChanged
Initializes a new instance of the NumericUpDown class with specific initial settings.
label
location
The Point specifying the upper-left corner of the NumericUpDown control relative to the upper-left corner of its container.
size
The Size of the NumericUpDown control.
onValueChanged
Int32: Returns or sets the number of decimal places to display in the spin box (also known as an up-down control). (Default: 0
)
Throws:
ArgumentOutOfRangeException The value assigned is less than 0; or the value assigned is greater than 99.
Boolean: Returns or sets whether the spin box (also known as an up-down control) should display the value it contains in hexadecimal format. (Default: False
)
Decimal: Returns or sets the value to increment or decrement the spin box (also known as an up-down control) when the up or down buttons are clicked. (Default: 1
)
Throws:
ArgumentOutOfRangeException The assigned value is not greater than or equal to zero.
Decimal: Returns or sets the maximum value for the spin box (also known as an up-down control). (Default: 100
)
Decimal: Returns or sets the minimum allowed value for the spin box (also known as an up-down control). (Default: 0
)
Nullable<Decimal>: Returns or sets the Value assigned to the spin box (also known as an up-down control) with the difference that when the text is empty it returns null. (Default: 0
)
This property should be used when the NumericUpDown may hold a null value and it's bound to a database nullable column. Throws:
ArgumentOutOfRangeException The assigned value is less than the Minimum property value; or the assigned value is greater than the Maximum property value.
String: Returns or sets a string to display after the value. (Default: ""
)
String: Returns or sets a string to display before the value. (Default: ""
)
Boolean: Returns or sets whether a thousands separator is displayed in the spin box (also known as an up-down control) when appropriate. (Default: False
)
Decimal: Returns or sets the value assigned to the spin box (also known as an up-down control). (Default: 0
)
Throws:
ArgumentOutOfRangeException The assigned value is less than the Minimum property value; or the assigned value is greater than the Maximum property value.
Fires the Leave event.
e
Fires the Validating event.
e
Fires the ValueChanged event.
e
Processes the event from the client.
e
Event arguments.
Renders the client component.
config
Dynamic configuration object.
Updates the client component using the state information.
state
Dynamic state object.
Displays the current value of the spin box (also known as an up-down control) in the appropriate format.
Validates and updates the text displayed in the spin box (also known as an up-down control).
Returns: Boolean. True if the text represents a valid value.
EventHandler Fired when the Value property has been changed in some way.
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 validation events and properties property for controls that support validation.
All wisej components implement this interface.
Allows an object to serialize itself.
The delegate to invoke when the event is raised.
Initial value.
The delegate to invoke when the event is raised.
The delegate to invoke when the event is raised.
Initial value.
The delegate to invoke when the event is raised.
An that contains the event data.
A that contains the event data.
A that contains the event data.
Represents a control that can be hosted in a .
Provides access to the associated with the controls that implement this interface.
Provides access to the property for coontrols that support the read-only mode.
All wisej controls derived from the class must implement this interface.