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

◆ set_range()

void xtd::forms::up_down_button::set_range ( int32  min_value,
int32  max_value 
)

Sets the minimum and maximum values for a up_down_button.

Parameters
min_valueThe lower limit of the range of the track bar.
max_valueThe upper limit of the range of the track bar.
Remarks
You can use this method to set the entire range for the up_down_button at the same time. To set the minimum or maximum values individually, use the minimum and maximum properties. If the min_value parameter is greater than the max_value parameter, max_value is set equal to min_value.