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. | |
cxfpFullAlphabet | The English alphabet is used as the preview string. | |
cxfpCustom | A custom string as defined by the TcxFontPreview.PreviewText property. |
The default value of the PreviewType property is cxfpFontName.
See Also