UINavigationItem.Prompt 属性

定义

显示在导航栏顶部的文本行。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string Prompt { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("prompt", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setPrompt:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Prompt : string with get, set

属性值

默认值为 null

此值可为 null

属性

注解

适用于