Share via


UITraitCollection.CurrentTraitCollection Property

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UITraitCollection CurrentTraitCollection { [Foundation.Export("currentTraitCollection", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setCurrentTraitCollection:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("currentTraitCollection", ObjCRuntime.ArgumentSemantic.Strong)>]
[<set: Foundation.Export("setCurrentTraitCollection:", ObjCRuntime.ArgumentSemantic.Strong)>]
static member CurrentTraitCollection : UIKit.UITraitCollection with get, set

Property Value

Attributes

Applies to