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

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

# DefaultStyles.ScrollViewerStyle

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

## ScrollViewerStyle

Gets the Scroll Viewer default style.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
DefaultStyles.ScrollViewerStyle: Style
```

### Returns

`Style` — 

### Examples

C#:

```csharp
var background = DefaultStyles.ScrollViewerStyle.Get(ControlProperty.BackgroundColor, ControlState.DarkTheme);
Print("Scroll viewer dark background: {0}", background);
```

Python:

```python
background = DefaultStyles.ScrollViewerStyle.Get(ControlProperty.BackgroundColor, ControlState.DarkTheme)
api.Print(f"Scroll viewer dark background: {background}")
```

