ContentPresenter.TextWrapping Property

Definition

Gets or sets how the element wraps text.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ContentPresenter.TextWrapping.

public:
 property TextWrapping TextWrapping { TextWrapping get(); void set(TextWrapping value); };
TextWrapping TextWrapping();

void TextWrapping(TextWrapping value);
public TextWrapping TextWrapping { get; set; }
var textWrapping = contentPresenter.textWrapping;
contentPresenter.textWrapping = textWrapping;
Public Property TextWrapping As TextWrapping

Property Value

TextWrapping

A value that indicates how the element wraps text. The default is NoWrap.

Applies to