RichTextBlock.TextWrapping Property

Definition

Gets or sets a value that indicates whether text wrapping occurs if a line of text extends beyond the available width of the RichTextBlock.

C#
public TextWrapping TextWrapping { get; set; }
XAML
<RichTextBlock TextWrapping="Wrap"/>
-or-
<RichTextBlock TextWrapping="NoWrap"/>

Property Value

One of the TextWrapping enumeration values that specifies whether text is wrapped. The default is Wrap.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6