Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxContainerStyle.Color Property

Specifies background color.

#Declaration

Delphi
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