編輯

共用方式為


MKAnnotationView.Appearance Property

Definition

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

public static MapKit.MKAnnotationView.MKAnnotationViewAppearance Appearance { get; }
member this.Appearance : MapKit.MKAnnotationView.MKAnnotationViewAppearance

Property Value

Remarks

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

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

Applies to