---
title: drawsCellBackground
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmatrix/drawscellbackground
---

# drawsCellBackground

A Boolean that indicates whether the matrix draws the background within each of its cells.

## Declaration

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

## Discussion

Discussion When the value of this property is true, the matrix draws the cell background.

## See Also

### Modifying Graphics Attributes

- [backgroundColor](appkit/nsmatrix/backgroundcolor.md)
- [cellBackgroundColor](appkit/nsmatrix/cellbackgroundcolor.md)
- [drawsBackground](appkit/nsmatrix/drawsbackground.md)
