Share via


UIView.Appearance 属性

定义

返回此类的 UIAppearance 类的强类型属性。

public static UIKit.UIView.UIViewAppearance Appearance { get; }
member this.Appearance : UIKit.UIView.UIViewAppearance

属性值

注解

在此实例上设置任何外观属性都会影响 UIView 的所有实例的外观。

如果开发人员想要控制 UIView 子类的外观,则应使用 GetAppearance<T>() 方法。

适用于