RichTextBlock.TextWrapping Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether text wrapping occurs if a line of text extends beyond the available width of the RichTextBlock.
public:
property TextWrapping TextWrapping { TextWrapping get(); void set(TextWrapping value); };
TextWrapping TextWrapping();
void TextWrapping(TextWrapping value);
public TextWrapping TextWrapping { get; set; }
var textWrapping = richTextBlock.textWrapping;
richTextBlock.textWrapping = textWrapping;
Public Property TextWrapping As TextWrapping
<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.