Instance Property

opaque

A Boolean value that indicates if the button is opaque.

Declaration

@property(getter=isOpaque, readonly) BOOL opaque;

Discussion

When the value of this property is YES, the button draws over every pixel in its frame. Note that a button cell is opaque only if it isn’t transparent and if it has a border. The default value of this property is YES.

See Also

Managing Graphics Attributes

backgroundColor

The background color of the button.

bezelStyle

The appearance of the button’s border, if it has one.

gradientType

The gradient of the button’s border.

Deprecated
imageDimsWhenDisabled

A Boolean value that indicates if the button’s image and text appear “dim” when the button is disabled.

transparent

A Boolean value that indicates if the button is transparent.

showsBorderOnlyWhileMouseInside

A Boolean value that indicates if the button displays its border only when the pointer is over it.