Instance Property

backgroundColor

The background color of the action button.

Declaration

@property(copy) NSColor *backgroundColor;

Discussion

Use this property to specify the background color for your button. If you do not specify a value for this property, AppKit assigns a default color based on the value in the style property. Generally, this color is red for destructive actions and blue for nondestructive actions.

See Also

Configuring the Action’s Appearance

style

The style applied to the action button.

title

The title of the action button.