AccessText.TextAlignment Property


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

Gets or sets the horizontal alignment of the content.

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

Public Property TextAlignment As TextAlignment

Property Value

Type: System.Windows.TextAlignment

The horizontal alignment of the text.

For a list of alignments see TextAlignment.

.NET Framework
Available since 3.0
Return to top