Share via


TextAlignment Enum

Definition

Enumerates values that control text alignment.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.TextAlignmentConverter))]
public enum TextAlignment
type TextAlignment = 
Inheritance
System.Enum
TextAlignment
Attributes

Fields

Name Value Description
Start 0

Indicates that text will be aligned to the left or top of horizontally or vertically aligned text, respectively.

Center 1

Indicates that text will be aligned in the middle of either horizontally or vertically aligned text.

End 2

Indicates that text will be aligned to the right or bottom of horizontally or vertically aligned text, respectively.

Applies to