UIStackView.Appearance 属性

定义

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

public static UIKit.UIStackView.UIStackViewAppearance Appearance { get; }
member this.Appearance : UIKit.UIStackView.UIStackViewAppearance

属性值

注解

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

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

适用于