AccessText::TextWrapping Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets whether the textual content of an AccessText element is wrapped if it overflows the line box.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

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

Property Value

Type: System.Windows::TextWrapping

The wrapping behavior to use. The default is NoWrap.

The following example uses the TextWrapping property of AccessText to make a multiple-line label.

.NET Framework
Available since 3.0
Return to top
Show: