# Editor.Theme.DrawDropdown

```csharp
static void DrawDropdown(Rect rect, string text, string icon, bool open, bool disabled = False)
```

Draw a dropdown control with a text label and an icon. Has a up/down chevron icon to indicate the dropdown state.

### Parameters

- `rect` (`Rect`)
- `text` (`string`)
- `icon` (`string`)
- `open` (`bool`)
- `disabled` (`bool`), default `False`

Declared in [Editor.Theme](/api/Editor.Theme).
Assembly: `Sandbox.Tools`.
