Windows.UI.Xaml.Controls.RichTextBlock.TextAlignment

June 22, 2022 · View on GitHub

-description

Gets or sets a value that indicates how the text is aligned in the RichTextBlock.

-xaml-syntax

<RichTextBlock TextAlignment="textAlignmentValue"/>

-xaml-values

textAlignmentValue
textAlignmentValue A named constant of the TextAlignment enumeration, such as Left.
## -property-value One of the [TextAlignment](../windows.ui.xaml/textalignment.md) enumeration values that indicates how text is aligned. The default is **Left**.

-remarks

-examples

-see-also