Skip to content

RadioButton.Content

property · RadioButton · cAlgo.API

DesktopCLICloud

Gets or sets the content.

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 ControlBase Content {get; set;}
radioButton.Content: ControlBase

Returns ControlBase

Examples

var label = new TextBlock { Text = "Sell", ForegroundColor = Color.Red, FontWeight = FontWeight.Bold };
var radioButton = new RadioButton { Content = label, GroupName = "Direction" };
Chart.AddControl(radioButton);
label = TextBlock()
label.Text = "Sell"
label.ForegroundColor = Color.Red
radioButton = RadioButton()
radioButton.Content = label
radioButton.GroupName = "Direction"
api.Chart.AddControl(radioButton)