Freigeben über


UITraitCollection.UserInterfaceStyle Eigenschaft

Definition

Ruft den Benutzeroberflächenstil ab, auf den diese Merkmalsauflistung angewendet wird.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIUserInterfaceStyle UserInterfaceStyle { [Foundation.Export("userInterfaceStyle")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.UserInterfaceStyle : UIKit.UIUserInterfaceStyle

Eigenschaftswert

Der Benutzeroberflächenstil, auf den diese Merkmalssammlung angewendet wird.

Attribute

Gilt für: