Skip to main content

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:

Inheritance

See Also