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

◆ set_range()

void xtd::forms::numeric_up_down::set_range ( double  min_value,
double  max_value 
)

Sets the minimum and maximum values for a track_bar.

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 track_bar 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.