Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Community Additions

Show:
© 2015 Microsoft