Skip to main content

TcxContainerStyle.Color Property

Specifies background color.

Declaration

property Color: TColor read; write;

Property Value

Type Description
TColor

The background color.

Remarks

Use Color and BorderColor properties to explicitly define background and border colors of the affected control.

Style Setting Modification Flag

Any Color property value change adds the csvColor flag to the AssignedValues property. To restore the default Color property value, remove the csvColor flag.

To restore all default style settings simultaneously, call the RestoreDefaults procedure.

Default Value

The Color property’s default value is clDefault.

The default Color property value indicates that the background color depends on settings accessible through the LookAndFeel property.

See Also