TcxContainerStyle.Font Property
Provides access to font settings applied to the affected control.
Declaration
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.