Partager via


UITraitCollection.UserInterfaceStyle Propriété

Définition

Obtient le style d’interface utilisateur auquel cette collection de caractéristiques s’applique.

[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

Valeur de propriété

Style d’interface utilisateur auquel cette collection de caractéristiques s’applique.

Attributs

S’applique à