CheckBox.Text
property · CheckBox · cAlgo.API
DesktopCLICloud
Gets or sets the checkbox text.
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 string Text {get; set;}
checkBox.Text: str
Returns string
Examples
var checkBox = new CheckBox { Text = "Show spread" };
Chart.AddControl(checkBox);
Print("Check box text: {0}", checkBox.Text);
checkBox = CheckBox()
checkBox.Text = "Show spread"
api.Chart.AddControl(checkBox)
api.Print(f"Check box text: {checkBox.Text}")