Bewerken

Delen via


UIAlertController.PreferredAction Property

Definition

Gets or sets the action that will be highlighted when the alert is presented to the user.

[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

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Applies to