共用方式為


UIButton.Appearance 屬性

定義

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

public static UIKit.UIButton.UIButtonAppearance Appearance { get; }
member this.Appearance : UIKit.UIButton.UIButtonAppearance

屬性值

備註

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

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

適用於