UIFocusGuide.PreferredFocusEnvironments 属性

定义

系统以递归方式搜索以查找默认焦点视图的 数组 IUIFocusEnvironment

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.IUIFocusEnvironment[] PreferredFocusEnvironments { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("preferredFocusEnvironments", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setPreferredFocusEnvironments:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.PreferredFocusEnvironments : UIKit.IUIFocusEnvironment[] with get, set

属性值

(即将推出有关此节点的更多文档)

此值可为 null

属性

适用于