---
id: "P:cAlgo.API.RadioButton.Text"
kind: "property"
type: "T:cAlgo.API.RadioButton"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/RadioButton/Text/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# RadioButton.Text

Member of [RadioButton](https://help.ctrader.com/ctrader-algo/references/Controls/RadioButton/index.md).

## Text

Gets or sets the text.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Accepted without error but never displayed, so control events such as Click are never raised.
- Cloud: Accepted without error but never displayed, so control events such as Click are never raised.

C#:

```csharp
public string Text {get; set;}
```

Python:

```python
radioButton.Text: str
```

### Returns

`string` — 

### Examples

C#:

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

Python:

```python
radioButton = RadioButton()
radioButton.Text = "Market order"
api.Chart.AddControl(radioButton)
api.Print(f"Radio button text: {radioButton.Text}")
```

