TextBlock.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.
public:
property TextWrapping TextWrapping { TextWrapping get(); void set(TextWrapping value); };
TextWrapping TextWrapping();
void TextWrapping(TextWrapping value);
public TextWrapping TextWrapping { get; set; }
var textWrapping = textBlock.textWrapping;
textBlock.textWrapping = textWrapping;
Public Property TextWrapping As TextWrapping
<TextBlock TextWrapping="Wrap"/>
-or-
<TextBlock TextWrapping="NoWrap"/>
Property Value
A value that indicates how the TextBlock wraps text. The default is NoWrap.