Skip to content

ProgressBar.IsIndeterminate

property · ProgressBar · cAlgo.API Since 5.1

DesktopCLICloud

Gets / sets whether the ProgressBar shows actual values or generic, continuous progress feedback.

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 bool IsIndeterminate {get; set;}
progressBar.IsIndeterminate: bool

Returns bool

Examples

var progressBar = new ProgressBar { Width = 200, Height = 10, IsIndeterminate = true };
Chart.AddControl(progressBar);
Print("Indeterminate: {0}", progressBar.IsIndeterminate);
progressBar = ProgressBar()
progressBar.Width = 200
progressBar.Height = 10
progressBar.IsIndeterminate = True
api.Chart.AddControl(progressBar)
api.Print(f"Indeterminate: {progressBar.IsIndeterminate}")