Instance Property

backgroundStyle

The cell’s background style.

Declaration

@property NSBackgroundStyle backgroundStyle;

Discussion

The background describes the surface the cell is drawn onto in the drawWithFrame:inView: method. A control typically sets the value of this property before it asks the cell to draw. A cell may draw differently based on background characteristics. For example, a table view drawing a cell in a selected row might set the value to NSBackgroundStyleDark. A text cell might decide to render its text white as a result. A rating-style level indicator might draw its stars white instead of gray.

See Also

Managing Display Attributes

bezeled

A Boolean value indicating whether the cell has a bezeled border.

bordered

A Boolean value indicating whether the cell draws itself outlined with a plain border.

opaque

A Boolean value indicating whether the cell is completely opaque.

controlTint

The cell’s control tint.

Deprecated
interiorBackgroundStyle

The cell’s interior background style.

NSBackgroundStyle

Background styles used with the backgroundStyle and interiorBackgroundStyle properties.