다음을 통해 공유


TextWrapping Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Enumeration TextWrapping
public enum TextWrapping
<object property="enumMemberName"/>

Members

Member name Description
Supported by Silverlight for Windows Phone NoWrap No line wrapping is performed.
Supported by Silverlight for Windows Phone Wrap Line 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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference