UITraitCollection.FromLayoutDirection(UITraitEnvironmentLayoutDirection) UITraitCollection.FromLayoutDirection(UITraitEnvironmentLayoutDirection) Method

Definition

Static factory method to create a UITraitCollection for the specified layoutDirection.

[Foundation.Export("traitCollectionWithLayoutDirection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UITraitCollection FromLayoutDirection (UIKit.UITraitEnvironmentLayoutDirection layoutDirection);
static member FromLayoutDirection : UIKit.UITraitEnvironmentLayoutDirection -> UIKit.UITraitCollection

Parameters

Returns

Applies to