Windows.UI.Xaml.Controls.RichEditBox.TextWrapping

June 22, 2022 · View on GitHub

-description

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

-xaml-syntax

<RichEditBox TextWrapping="Wrap"/>
-or-
<RichEditBox TextWrapping="NoWrap"/>

-property-value

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

-remarks

TextBox and RichEditBox don't support the WrapWholeWords value for their TextWrapping properties. If you try to use WrapWholeWords as a value for TextBox.TextWrapping or RichEditBox.TextWrapping an invalid argument exception is thrown.

-examples

-see-also