Label.XAlign 屬性

定義

警告

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

取得或設定繫結 Label 內 Text 的水平對齊。

[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

屬性值

TextAlignment 值。 默認值為 Start,也就是文字靠左對齊。

屬性
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

適用於