Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 805 Bytes

richtextblock_textalignment.md

File metadata and controls

31 lines (22 loc) · 805 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.RichTextBlock.TextAlignment
winrt property

Microsoft.UI.Xaml.Controls.RichTextBlock.TextAlignment

-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](../microsoft.ui.xaml/textalignment.md) enumeration values that indicates how text is aligned. The default is **Left**.

-remarks

-examples

-see-also