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.Font Property

Provides access to font settings applied to the affected control.

#Declaration

Delphi
property Font: TFont read; write;

#Property Value

Type Description
TFont

Stores general font settings.

#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.

Note

Font.Color and Font.Style properties have no effect. Use TextColor and TextStyle properties instead.

#Style Setting Modification Flag

Any Font property value change adds the csvFont flag to the AssignedValues property. To restore the default values of all font settings accessible through the Font property, remove the csvFont flag.

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

See Also