Condividi tramite


UITraitCollection.PreferredContentSizeCategory Proprietà

Definizione

Ottiene una stringa che descrive la categoria di dimensioni del contenuto preferite.

[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

Valore della proprietà

Il valore predefinito è "_UICTContentSizeCategoryUnspecified.

Attributi

Si applica a