Expand Minimize

TextWrapping Enumeration

July 28, 2014

Specifies whether text wraps when it reaches the edge of its container.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public enum TextWrapping
<object property="enumMemberName"/>

Member nameDescription
NoWrapNo line wrapping is performed.
WrapLine breaking occurs if a line of text overflows beyond the available width of its container. Line breaking occurs even if the standard line-breaking algorithm cannot determine any line break opportunity, such as when a line of text includes a long word that is constrained by a fixed-width container without scrolling.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft