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

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

# DefaultStyles.ComboBoxStyle

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

## ComboBoxStyle

Gets the ComboBox default style.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public static Style ComboBoxStyle {get;}
```

Python:

```python
DefaultStyles.ComboBoxStyle: Style
```

### Returns

`Style` — 

### Examples

C#:

```csharp
var padding = DefaultStyles.ComboBoxStyle.Get(ControlProperty.Padding);
Print("Combo box padding: {0}", padding);
```

Python:

```python
padding = DefaultStyles.ComboBoxStyle.Get(ControlProperty.Padding)
api.Print(f"Combo box padding: {padding}")
```

