Windows.UI.Xaml.Documents.Block.TextAlignment
June 22, 2022 · View on GitHub
-description
Gets or sets the horizontal alignment of the text content.
-xaml-syntax
<Paragraph TextAlignment="textAlignmentMemberName"/>
-xaml-values
- textAlignmentMemberName
- textAlignmentMemberNameA named constant of the TextAlignment enumeration, such as Left.
-remarks
Block is a base class for Paragraph. Paragraph is the only element that you can set a TextAlignment value on in Windows Runtime XAML, unless you create a custom class based on Block.