The background color of the action button.
SDK
- macOS 10.11+
Framework
- App
Kit
Declaration
@NSCopying var backgroundColor: NSColor! { get set }
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.