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

◆ set_range()

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

Sets the minimum and maximum values for a xtd::forms::progress_bar.

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