Compartir a través de


UITraitCollection.PreferredContentSizeCategory Propiedad

Definición

Obtiene una cadena que describe la categoría de tamaño de contenido preferida.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string PreferredContentSizeCategory { [Foundation.Export("preferredContentSizeCategory")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.PreferredContentSizeCategory : string

Valor de propiedad

El valor predeterminado es "_UICTContentSizeCategoryUnspecified.

Atributos

Se aplica a