UITraitCollection.PreferredContentSizeCategory UITraitCollection.PreferredContentSizeCategory Property

Definition

Gets a string describing the preferred content size category.

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

Property Value

The default value is "_UICTContentSizeCategoryUnspecified.

Applies to