Skip to main content

FastTextBlock.WordWrap Property

Gets or sets whether text wraps words to the beginning of the next line when necessary. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling.Visual

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool WordWrap { get; set; }

Property Value

Type Description
Boolean

True, if the text wraps words; otherwise, false.

Remarks

Important

FastTextBlock does not support text trimming (FastTextBlock.TrimmingMode) when word wrapping is enabled. An exception occurs.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WordWrap property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also