Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.01 KB

richeditbox_textwrapping.md

File metadata and controls

33 lines (22 loc) · 1.01 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.RichEditBox.TextWrapping
winrt property

Windows.UI.Xaml.Controls.RichEditBox.TextWrapping

-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