다음을 통해 공유


Label.XAlign Property

Definition

Caution

XAlign is obsolete as of version 2.0.0. Please use HorizontalTextAlignment instead.

Gets or sets the horizontal alignment for the Text inside of the Label bound.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("XAlign is obsolete as of version 2.0.0. Please use HorizontalTextAlignment instead.")]
public Xamarin.Forms.TextAlignment XAlign { get; set; }
member this.XAlign : Xamarin.Forms.TextAlignment with get, set

Property Value

The TextAlignment value. The default is Start, i.e. the text is left-aligned.

Attributes
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Applies to