TextWrapping Enumeration

Specifies whether text wraps when it reaches the edge of the containing box.

XAML
<object property="EnumerationValue" .../>
Scripting
value = "EnumerationValue"

Enumeration Values

Value Description
NoWrap No line wrapping is performed.
Wrap Line-breaking occurs if the line overflows beyond the available block width, even if the standard line breaking algorithm cannot determine any line break opportunity, as in the case of a very long word constrained in a fixed-width container with no scrolling allowed.

Applies To

TextWrapping Property

See Also

TextBlock