Type Property

controlColor

The color to use for the flat surfaces of a control.

Declaration

@property(class, strong, readonly) NSColor *controlColor;

Return Value

The system color used for the flat surfaces of a control. By default, the control color is a pattern color that will draw the ruled lines for the window background, which is the same as returned by windowBackgroundColor.

If you use controlColor assuming that it is a solid, you may have an incorrect appearance. You should use lightGrayColor in its place.

See Also

Control Colors

controlAccentColor

The user's current accent color preference.

controlBackgroundColor

The color to use for the background of large controls, such as scroll views or table views.

controlTextColor

The color to use for text on enabled controls.

disabledControlTextColor

The color to use for text on disabled controls.

currentControlTint

The current system control tint color.

selectedControlColor

The color to use for the face of a selected control—that is, a control that has been clicked or is being dragged.

selectedControlTextColor

The color to use for text in a selected control—that is, a control being clicked or dragged.

alternateSelectedControlTextColor

The color to use for text in a selected control.

scrubberTexturedBackgroundColor

The patterned color to use for the background of a scrubber control.