Instance Property

drawsBackground

A Boolean value that indicates whether the date picker draws the background.

Declaration

var drawsBackground: Bool { get set }

See Also

Configuring Date Pickers

var isBezeled: Bool

A Boolean value that indicates whether the date picker draws a bezeled border.

var isBordered: Bool

A Boolean value that indicates whether the date picker has a plain border.

var backgroundColor: NSColor

The date picker’s background color.

var textColor: NSColor

The date picker’s text color.

var datePickerStyle: NSDatePicker.Style

The date picker’s style.

var delegate: NSDatePickerCellDelegate?

A delegate for the date picker’s cell

var datePickerElements: NSDatePicker.ElementFlags

A bitmask that indicates which visual elements of the date picker are currently shown, and which won't be usable because they are hidden.

struct NSDatePicker.ElementFlags

Constants that specify the date and time elements displayed by the picker.

enum NSDatePicker.Style

Constants that define the visual appearance of the date picker cell.