iOS Guides | Samples

MonoTouch.UIKit.UIAlertActionStyle Enumeration

Enumeration of the styles showing the effect of a UIAlertAction.

Syntax

[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIAlertActionStyle

Members

Member NameDescription
CancelA style indicating a UIAlertAction that cancels the operation associated with the alert.
DefaultA style indicating default behavior.
DestructiveA style indicating the UIAlertAction might change or delete data.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIAlertActionStyle are listed below.

See Also: Enum

Public Fields

CancelUIAlertActionStyle. A style indicating a UIAlertAction that cancels the operation associated with the alert.
DefaultUIAlertActionStyle. A style indicating default behavior.
DestructiveUIAlertActionStyle. A style indicating the UIAlertAction might change or delete data.