Share via


ContentPresenter.TextWrapping Property

Definition

Gets or sets how the element wraps text.

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

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

Applies to