Freigeben über


UITraitCollection.PreferredContentSizeCategory Eigenschaft

Definition

Ruft eine Zeichenfolge ab, die die bevorzugte Inhaltsgrößenkategorie beschreibt.

[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

Eigenschaftswert

Der Standardwert ist "_UICTContentSizeCategoryUnspecified.

Attribute

Gilt für: