Block.TextAlignment Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the horizontal alignment of the text content.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<Paragraph TextAlignment="textAlignmentValue"/>
XAML Values
Property Value
Type: System.Windows.TextAlignmentThe horizontal alignment of the text content. The default is Left.
Dependency property identifier field: TextAlignmentProperty
Show: