xtd 0.2.0
Loading...
Searching...
No Matches

◆ value() [2/2]

virtual numeric_up_down & xtd::forms::numeric_up_down::value ( double  value)
virtual

Sets the value assigned to the spin box (also known as an up-down control).

Parameters
valueThe numeric value of the numeric_up_down control.
Returns
Current numeric_up_down.
Remarks
When the value property is set, the new value is validated to be between the minimum and maximum values. Following this, the update_edit_text method is called to update the spin box's display with the new value in the appropriate format.