Wisej.Web.NumericUpDown
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a spinner control that displays numeric values.
Initializes a new instance of the NumericUpDown class.
Int32: Returns or sets the number of decimal places to display in the spin box (also known as an up-down control).
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.
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.
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).
Decimal: Returns or sets the minimum allowed value for the spin box (also known as an up-down control).
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.
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.
String: Returns or sets a string to display before the value.
Boolean: Returns or sets whether a thousands separator is displayed in the spin box (also known as an up-down control) when appropriate.
Decimal: Returns or sets the value assigned to the spin box (also known as an up-down control).
Throws:
ArgumentOutOfRangeException The assigned value is less than the Minimum property value; or the assigned value is greater than the Maximum property value.
EventHandler Fired when the Value property has been changed in some way.
Name | Description |
---|---|
Name | Description |
---|---|
Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.