Windows.UI.Xaml.Controls.TextBox.TextAlignment

June 22, 2022 · View on GitHub

-description

Gets or sets how the text should be horizontally aligned in the text box.

-xaml-syntax

<TextBox TextAlignment="textAlignmentMemberName"/>

-xaml-values

textAlignmentMemberName
textAlignmentMemberNameA named constant of the TextAlignment enumeration, for example Center.
## -property-value One of the [TextAlignment](../windows.ui.xaml/textalignment.md) enumeration values. The default is **Left**.

-remarks

-examples

-see-also