TcxButtonColors Class
In This Article
Contains a list of colors, which represent different button states.
#Declaration
Delphi
TcxButtonColors = class(
TcxButtonCustomPersistent
)
#Remarks
TcxButton states (normal, disabled, hot-tracked, pressed, and Default) can be represented by:
Assigning state images using the button’s Glyph property.
Specifying background and foreground colors for these states via the button’s Colors property. This property provides access to an instance of the TcxButtonColors class.
Note
When a button is painted using the native style, the Colors property settings are not in effect. The native paint style is applied to a button if any of the following conditions are met:
The button’s Look
And property is set to True.Feel. Native Style The button’s Look
And property is set to lfFeel. Kind Standard and the UseSystem property is set to True.Paint
#Inheritance
TObject
TPersistent
TcxButtonCustomPersistent
TcxButtonColors
See Also