---
title: datePickerElements
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdatepickercell/datepickerelements
---

# datePickerElements

A bitmask that indicates which visual elements are shown by the date picker.

## Declaration

```swift
var datePickerElements: NSDatePicker.ElementFlags { get set }
```

## Discussion

Discussion Elements not included in the bitmask are hidden from view. For a list of possible values, see NSDatePicker.ElementFlags.

## See Also

### Configuring Appearance

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