ProgressBar constructor
constructor · ProgressBar · cAlgo.API Since 5.1
DesktopCLICloud
Initializes a new instance of the ProgressBar class.
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 ProgressBar()
ProgressBar()
Examples
var progressBar = new ProgressBar { Width = 200, Height = 20, Minimum = 0, Maximum = 100, Value = 25 };
Chart.AddControl(progressBar);
progressBar = ProgressBar()
progressBar.Width = 200
progressBar.Height = 20
progressBar.Value = 25
api.Chart.AddControl(progressBar)