-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Documents.Block.TextAlignment |
winrt property |
Gets or sets the horizontal alignment of the text content.
<Paragraph TextAlignment="textAlignmentMemberName"/>
- textAlignmentMemberName
- textAlignmentMemberNameA named constant of the TextAlignment enumeration, such as Left.
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.