Compartir a través de


UITraitCollection.UserInterfaceStyle Propiedad

Definición

Obtiene el estilo de la interfaz de usuario al que se aplica esta colección de rasgos.

[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

Valor de propiedad

Estilo de interfaz de usuario al que se aplica esta colección de rasgos.

Atributos

Se aplica a