# Editor.ComboBox.AddItem

```csharp
void AddItem(string text, string icon = null, System.Action onSelected = null, string description = null, bool selected = False, bool enabled = True)
```

### Parameters

- `text` (`string`)
- `icon` (`string`), default `null`
- `onSelected` (`System.Action`), default `null`
- `description` (`string`), default `null`
- `selected` (`bool`), default `False`
- `enabled` (`bool`), default `True`

Declared in [Editor.ComboBox](/api/Editor.ComboBox).
Assembly: `Sandbox.Tools`.
