Share via


Label.YAlign Property

Definition

Caution

YAlign is obsolete as of version 2.0.0. Please use VerticalTextAlignment instead.

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

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

Property Value

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

Attributes
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Applies to