UIAlertController.PreferredAction 属性

定义

获取或设置在向用户显示警报时将突出显示的操作。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIAlertAction PreferredAction { [Foundation.Export("preferredAction")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setPreferredAction:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.PreferredAction : UIKit.UIAlertAction with get, set

属性值

(此节点的更多文档即将)

此值可为 null

属性

适用于