NumericUpDown
最后更新于
最后更新于
The NumericUpDown
is an editable numeric input field.
The control has a up and down button spinner attached, used to increment and decrement the value in the input field. The value can also be incremented or decremented using the arrow keys or the mouse wheel when the control is selected.
The value stored in the NumericUpDown
is a double.
produces the following output on Linux\
A custom increment/decrement value can be set for the button spinner. The default increment value is set to 1.
Property | Description |
---|---|
Value
The double stored in the NumericUpDown
Increment
The increment used by the button spinner, keyboard and mouse wheel
Minimum
The minimum allowed Value
Maximum
The maximum allowed Value
ButtonSpinnerLocation
Location of the button spinner - Left or Right
AllowSpin
If false incrementing and decrementing using the button spinner, keyboard and mouse wheel is disabled
ShowButtonSpinner
Determines whether the button spinner should be shown