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

# drawsBackground

A Boolean value indicating whether the cell draws its background.

## Declaration

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

## Discussion

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

## See Also

### Configuring Appearance

- [backgroundColor](appkit/nsdatepickercell/backgroundcolor.md)
- [textColor](appkit/nsdatepickercell/textcolor.md)
- [datePickerStyle](appkit/nsdatepickercell/datepickerstyle.md)
- [datePickerElements](appkit/nsdatepickercell/datepickerelements.md)
