Instance Property

backgroundColor

The background color of the matrix (the space between the cells).

Declaration

@NSCopying var backgroundColor: NSColor { get set }

Discussion

The value of this property is the background color used to fill the space between cells or the space behind any non-opaque cells. The default background color is the color returned by the NSColor method controlColor.

See Also

Modifying Graphics Attributes

var cellBackgroundColor: NSColor?

The background color of the matrix’s cells.

var drawsBackground: Bool

A Boolean that indicates whether the matrix draws its background.

var drawsCellBackground: Bool

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