---
title: allowsDocumentBackgroundColorChange
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextview/allowsdocumentbackgroundcolorchange
---

# allowsDocumentBackgroundColorChange

A Boolean value that indicates whether the receiver allows its background color to change.

## Declaration

```swift
var allowsDocumentBackgroundColorChange: Bool { get set }
```

## Discussion

Discussion true if the receiver allows the background color to change, otherwise false.

## See Also

### Setting graphics attributes

- [backgroundColor](appkit/nstextview/backgroundcolor.md)
- [drawsBackground](appkit/nstextview/drawsbackground.md)
- [changeDocumentBackgroundColor(_:)](appkit/nstextview/changedocumentbackgroundcolor(_:).md)
