# text

> The text associated with the toggle.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Toolbars](/engine/6000.5/script-reference/unityeditor/toolbars.md)
* **Assembly:** UnityEditor

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

### Remarks

The text to display alongside the icon or text icon in a horizontal toolbar layout. In a vertical toolbar layout, this text is not displayed, and if no icon or text icon are set, this text is abbreviated and displayed as a text icon.
