Skip to main content

TcxFontPreview.PreviewType Property

Specifies the contents of the font name combo box’s preview area.

Declaration

property PreviewType: TcxFontPreviewType read; write; default cxfpFontName;

Property Value

Type Default
TcxFontPreviewType cxfpFontName

Remarks

The font preview is displayed when it is enabled (see the TcxFontPreview.Visible property). You can use the PreviewType property to select preview text contents.

The following options are supported:

Value Description Example
cxfpFontName The selected font name is used as the preview string. The Selected Font Name as a Preview
cxfpFullAlphabet The English alphabet is used as the preview string. The English Alphabet as a Preview
cxfpCustom A custom string as defined by the TcxFontPreview.PreviewText property. A Custom String as a Preview

The default value of the PreviewType property is cxfpFontName.

See Also