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

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

# DefaultStyles.TabItemStyle

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

## TabItemStyle

Gets the Tab Item default style.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
DefaultStyles.TabItemStyle: Style
```

### Returns

`Style` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var background = DefaultStyles.TabItemStyle.Get(ControlProperty.BackgroundColor, ControlState.LightTheme | ControlState.Checked);
Print("Selected tab background in the light theme: {0}", background);
```

Python:

```python
background = DefaultStyles.TabItemStyle.Get(ControlProperty.BackgroundColor, ControlState.LightTheme | ControlState.Checked)
api.Print(f"Selected tab background in the light theme: {background}")
```

