Skip to main content

TcxButtonColors.AssignedColors Property

Specifies which button states have their corresponding color assigned by the Colors property.

Declaration

property AssignedColors: TcxButtonAssignedColors read; write;

Property Value

Type
TcxButtonAssignedColors

Remarks

The AssignedColors property contains a set of flags defining which button states have corresponding colors assigned by the Colors property.

Specifying a color for a specific button state results in activating the corresponding flag in the AssignedColors set. If a flag is deactivated, the corresponding Colors property member is set to clDefault.

Setting the background or foreground color for a specific button state to clDefault enables painting based on the button’s LookAndFeel and UseSystemPaint property settings.

See Also