UIFocusGuide.PreferredFocusEnvironments 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
系统以递归方式搜索以查找默认焦点视图的 数组 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
。
- 属性