共用方式為


UILabel.Appearance 屬性

定義

傳回這個類別之 UIAppearance 類別的強型別屬性。

public static UIKit.UILabel.UILabelAppearance Appearance { get; }
member this.Appearance : UIKit.UILabel.UILabelAppearance

屬性值

備註

在此實例上設定任何外觀屬性會影響 UILabel 的所有實例的外觀。

如果開發人員想要控制 UILabel 子類別的外觀,他們應該使用 GetAppearance<T>(UITraitCollection, Type[]) 方法。

適用於