Skip to main content

TcxFontPreview.WordWrap Property

Determines whether long text is wrapped within a font name combo box’s preview area.

Declaration

property WordWrap: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

When WordWrap is enabled, the preview text is wrapped to fit the preview area. If the WordWrap property is set to False, then the preview text will be clipped if the font name combo box’s dropdown window width is not wide enough. Set the TcxFontPreview.ShowEndEllipsis property to True to replace the clipped text with an ellipsis.

The following screenshots show the effect of WordWrap within the preview area:

Value Example
True Word Wrap is Enabled
False Word Wrap is Disabled

The default value of the WordWrap property is False.

See Also