TcxButtonColors Class
Contains a list of colors, which represent different button states.
Declaration
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 LookAndFeel.NativeStyle property is set to True.
The button’s LookAndFeel.Kind property is set to lfStandard and the UseSystemPaint property is set to True.
Inheritance
TObject
TPersistent
TcxButtonCustomPersistent
TcxButtonColors
See Also