Skip to content

RadioButton.Text

property · RadioButton · cAlgo.API

DesktopCLICloud

Gets or sets the 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;}
radioButton.Text: str

Returns string

Examples

var radioButton = new RadioButton { Text = "Market order" };
Chart.AddControl(radioButton);
Print("Radio button text: {0}", radioButton.Text);
radioButton = RadioButton()
radioButton.Text = "Market order"
api.Chart.AddControl(radioButton)
api.Print(f"Radio button text: {radioButton.Text}")