UIButton.Appearance Property

Definition

Strongly-typed property that returns the UIAppearance class for this class.

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

Property Value

Remarks

Setting any appearance properties on this instance will affect the appearance of all instances of UIButton.

If developers want to control the appearance of subclasses of UIButton, they should use the GetAppearance<T>(UITraitCollection, Type[]) method.

Applies to