Instance Property

usesAlternatingRowBackgroundColors

A Boolean value indicating whether the table view uses alternating row colors for its background.

Declaration

var usesAlternatingRowBackgroundColors: Bool { get set }

Return Value

true if the table view uses standard alternating row colors for the background, false if it uses a solid color.

Discussion

When the value of this property is true, the table uses the standard alternating row colors for the background. When the value is false, the table view uses a single solid color for the background.

See Also

Setting Display Attributes

var intercellSpacing: NSSize

The horizontal and vertical spacing between cells.

var rowHeight: CGFloat

The height of each row in the table.

var backgroundColor: NSColor

The color used to draw the background of the table.

var selectionHighlightStyle: NSTableView.SelectionHighlightStyle

The selection highlight style used by the table view to indicate row and column selection.

var gridColor: NSColor

The color used to draw grid lines.

var gridStyleMask: NSTableView.GridLineStyle

The grid lines drawn by the table view.

func indicatorImage(in: NSTableColumn) -> NSImage?

Returns the indicator image of the specified table column.

func setIndicatorImage(NSImage?, in: NSTableColumn)

Sets the indicator image of the specified column.