UITraitCollection.FromLayoutDirection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- layoutDirection
- UITraitEnvironmentLayoutDirection
Returns
- Attributes