---
title: drawsBackground
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfieldcell/drawsbackground
---

# drawsBackground

A Boolean value that indicates whether the cell draws its background color.

## Declaration

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

## Discussion

Discussion When the value of this property is true, the cell draws its background color. In order to prevent inconsistent rendering, background color rendering is automatically disabled for rounded-bezel text fields.

## See Also

### Related Documentation

- [drawsBackground](appkit/nstextfield/drawsbackground.md)

### Controlling the Background

- [backgroundColor](appkit/nstextfieldcell/backgroundcolor.md)
