Skip to main content

TcxContainerStyle.TextColor Property

Specifies the font color in the affected control.

Declaration

property TextColor: TColor read; write;

Property Value

Type Description
TColor

The font color.

Remarks

You can use Font, TextColor, and TextStyle properties to customize text appearance in the affected control.

The Font property allows you to customize general font settings, such as font size, typeface, and pitch. TextColor and TextStyle properties specify text color and font attributes (any combination of bold, italic, underline, and strikeout) applied to text displayed in the affected control.

Style Setting Modification Flag

Any TextColor property value change adds the csvTextColor flag to the AssignedValues property. To restore the default TextColor property value, remove the csvTextColor flag.

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

Default Value

The TextColor property’s default value is clDefault.

The default TextColor property value indicates that the text color depends on settings accessible through the LookAndFeel property.

See Also