<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PageIndexViewStyle/BackgroundDisplayMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI18PageIndexViewStyleV21BackgroundDisplayModeV"
  },
  "title" : "PageIndexViewStyle.BackgroundDisplayMode"
}
-->

# PageIndexViewStyle.BackgroundDisplayMode

The background style for the page index view.

```
struct BackgroundDisplayMode
```

## Topics

### Getting the display modes

[`automatic`](/documentation/SwiftUI/PageIndexViewStyle/BackgroundDisplayMode/automatic)

Background will use the default for the platform.

[`always`](/documentation/SwiftUI/PageIndexViewStyle/BackgroundDisplayMode/always)

Background is always displayed behind the page index view.

[`interactive`](/documentation/SwiftUI/PageIndexViewStyle/BackgroundDisplayMode/interactive)

Background is only shown while the index view is interacted with.

[`never`](/documentation/SwiftUI/PageIndexViewStyle/BackgroundDisplayMode/never)

Background is never displayed behind the page index view.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)