Xamarin.Forms Guides | Samples

Xamarin.Forms.TextAlignment Enumeration

Enumerates values that control text alignment.

Syntax

public enum TextAlignment

Members

Member NameDescription
CenterIndicates that text will be aligned in the middle of either horizontally or vertically aligned text.
EndIndicates that text will be aligned to the right or bottom of horizontally or vertically aligned text, respectively.
StartIndicates that text will be aligned to the left or top of horizontally or vertically aligned text, respectively.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.TextAlignment are listed below.

See Also: Enum

Public Fields

CenterTextAlignment. Indicates that text will be aligned in the middle of either horizontally or vertically aligned text.
EndTextAlignment. Indicates that text will be aligned to the right or bottom of horizontally or vertically aligned text, respectively.
StartTextAlignment. Indicates that text will be aligned to the left or top of horizontally or vertically aligned text, respectively.