<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrubber/backgroundView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrubber(py)backgroundView"
  },
  "title" : "backgroundView"
}
-->

# backgroundView

A view that is displayed behind the scrubber content.

```
var backgroundView: NSView? { get set }
```

## Discussion

The scrubber manages the layout of the background view to match the size of the content area. If this property is non-`nil`, the value of the [`backgroundColor`](/documentation/AppKit/NSPathControl/backgroundColor) property is ignored.

The default value is `nil`.

---

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)