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

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

# DefaultStyles.TabControlStyle

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

## TabControlStyle

Gets the Tab Control default style.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
DefaultStyles.TabControlStyle: Style
```

### Returns

`Style` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var background = DefaultStyles.TabControlStyle.Get(ControlProperty.BackgroundColor, ControlState.DarkTheme);
Print("Tab control dark background: {0}", background);
```

Python:

```python
background = DefaultStyles.TabControlStyle.Get(ControlProperty.BackgroundColor, ControlState.DarkTheme)
api.Print(f"Tab control dark background: {background}")
```

