TcxCustomFontNameComboBoxProperties.FontPreview Property
Contains settings for the font preview.
Declaration
property FontPreview: TcxFontPreview read; write;
Property Value
Type |
---|
TcxFontPreview |
Remarks
The FontPreview property provides access to font preview settings. The preview area displays the selected font automatically, thus helping the user to choose the most appropriate font. The following image shows the preview section highlighted by a red border:
The Preview property allows:
enabling/disabling the font preview (see the TcxFontPreview.Visible description);
display of font style buttons and visibility of the end ellipsis (TcxFontPreview.ShowButtons and TcxFontPreview.ShowEndEllipsis);
alignment, color and style of the preview font (TcxFontPreview.Alignment, TcxFontPreview.Color and TcxFontPreview.FontStyle);
preview type and text (TcxFontPreview.PreviewType and TcxFontPreview.PreviewText).
See Also