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

◆ increment() [2/2]

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

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.

Parameters
valueThe value to increment or decrement the Value property when the up or down buttons are clicked on the spin box. The default value is 1.
Returns
Current numeric_up_down.
Remarks
Clicking the up button causes the value property to increment by the amount specified by the increment property and approach the maximum property. Clicking the down button causes the value property to be decremented by the amount specified by the increment property and approach the minimum property.