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

TcxFontPreview.PreviewType Property

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

#Declaration

Delphi
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