The color to use for the background of large controls, such as scroll views or table views.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@property(class, strong, readonly) NSColor *controlBackgroundColor;
Return Value
Do not use this color for drawing. Instead, use an NSVisual
with the appropriate background material.
When applied to an NSBox
object, this color supports Desktop Tinting in Dark Mode. With Desktop Tinting, the system modifies this color dynamically by incorporating some of the color from the underlying desktop image. The system does not apply this dynamic tinting effect to other types of views.