Share via


UIViewController.TraitCollection Property

Definition

Gets the trait collection that describes the environment.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UITraitCollection TraitCollection { [Foundation.Export("traitCollection")] get; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("traitCollection")>]
member this.TraitCollection : UIKit.UITraitCollection

Property Value

Implements

Attributes

Applies to