UIView.GetUserInterfaceLayoutDirection 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.
Overloads
GetUserInterfaceLayoutDirection(UISemanticContentAttribute, UIUserInterfaceLayoutDirection) |
Returns the layout direction for the specified semantic attribute relative to the provided layout direction. |
GetUserInterfaceLayoutDirection(UISemanticContentAttribute) |
Returns the layout direction for the specified |
GetUserInterfaceLayoutDirection(UISemanticContentAttribute, UIUserInterfaceLayoutDirection)
Returns the layout direction for the specified semantic attribute relative to the provided layout direction.
[Foundation.Export("userInterfaceLayoutDirectionForSemanticContentAttribute:relativeToLayoutDirection:")]
[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.UIUserInterfaceLayoutDirection GetUserInterfaceLayoutDirection (UIKit.UISemanticContentAttribute semanticContentAttribute, UIKit.UIUserInterfaceLayoutDirection layoutDirection);
static member GetUserInterfaceLayoutDirection : UIKit.UISemanticContentAttribute * UIKit.UIUserInterfaceLayoutDirection -> UIKit.UIUserInterfaceLayoutDirection
Parameters
- semanticContentAttribute
- UISemanticContentAttribute
- layoutDirection
- UIUserInterfaceLayoutDirection
Returns
- Attributes
Applies to
GetUserInterfaceLayoutDirection(UISemanticContentAttribute)
Returns the layout direction for the specified attribute
.
[Foundation.Export("userInterfaceLayoutDirectionForSemanticContentAttribute:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIUserInterfaceLayoutDirection GetUserInterfaceLayoutDirection (UIKit.UISemanticContentAttribute attribute);
static member GetUserInterfaceLayoutDirection : UIKit.UISemanticContentAttribute -> UIKit.UIUserInterfaceLayoutDirection
Parameters
- attribute
- UISemanticContentAttribute
Returns
- Attributes