共用方式為


UIView.GetUserInterfaceLayoutDirection 方法

定義

多載

GetUserInterfaceLayoutDirection(UISemanticContentAttribute, UIUserInterfaceLayoutDirection)

傳回指定語意屬性相對於所提供版面配置方向的配置方向。

GetUserInterfaceLayoutDirection(UISemanticContentAttribute)

傳回指定 attribute 之 的配置方向。

GetUserInterfaceLayoutDirection(UISemanticContentAttribute, UIUserInterfaceLayoutDirection)

傳回指定語意屬性相對於所提供版面配置方向的配置方向。

[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

參數

semanticContentAttribute
UISemanticContentAttribute

傳回

屬性

適用於

GetUserInterfaceLayoutDirection(UISemanticContentAttribute)

傳回指定 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

參數

傳回

屬性

適用於