iOS Guides | Samples

MonoTouch.UIKit.UIAlertViewStyle Enumeration

The visual style for a UIAlertView.

Syntax

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

See Also

Remarks

The values other than UIAlertViewStyle.Default allow the user to enter text, including the option to obscure the text as it is being entered.

Members

Member NameDescription
DefaultA standard alert.
LoginAndPasswordInputAllows the user to enter a login id and a password.
PlainTextInputAllows the user to enter text.
SecureTextInputAllows the user to enter text, but the text field is obscured.

Requirements

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

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

See Also: Enum

Public Fields

DefaultUIAlertViewStyle. A standard alert.
LoginAndPasswordInputUIAlertViewStyle. Allows the user to enter a login id and a password.
PlainTextInputUIAlertViewStyle. Allows the user to enter text.
SecureTextInputUIAlertViewStyle. Allows the user to enter text, but the text field is obscured.