---
title: "init(backgroundDisplayMode:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/pageindexviewstyle/init(backgrounddisplaymode:)"
---

# init(backgroundDisplayMode:)

Creates a page index view style.

## Declaration

```swift
init(backgroundDisplayMode: PageIndexViewStyle.BackgroundDisplayMode = .automatic)
```

## Parameters

- `backgroundDisplayMode`: The display mode of the background of any page index views receiving this style

## See Also

### Creating the control group style

- [PageIndexViewStyle.BackgroundDisplayMode](swiftui/pageindexviewstyle/backgrounddisplaymode.md)
