Edytuj

Udostępnij za pośrednictwem


UIView.GetUserInterfaceLayoutDirection Method

Definition

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 attribute.

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

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

Returns

Attributes

Applies to