Skip to content

ProgressBar.Minimum

property · ProgressBar · cAlgo.API Since 5.1

DesktopCLICloud

Get / set progress bar minimum value amount if type is Determinate (default is 0).

Environment behaviour

CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.

Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.

Definition

public double Minimum {get; set;}
progressBar.Minimum: float

Returns double

Examples

var progressBar = new ProgressBar { Width = 200, Height = 20, Minimum = 10, Maximum = 60, Value = 35 };
Chart.AddControl(progressBar);
Print("Minimum: {0}", progressBar.Minimum);
progressBar = ProgressBar()
progressBar.Width = 200
progressBar.Height = 20
progressBar.Minimum = 10
progressBar.Maximum = 60
progressBar.Value = 35
api.Chart.AddControl(progressBar)
api.Print(f"Minimum: {progressBar.Minimum}")