UIKit.UIAlertView Members

The members of UIKit.UIAlertView are listed below.

See Also: Inherited members from UIKit.UIView

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Initializes the UIAlertView with the specified frame.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to initialize an alert view.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AlertViewStyleUIAlertViewStyle. The style of the alert view.
[read-only]
static
AppearanceUIAlertView.UIAlertViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
[read-only]
ButtonCountnint. The number of buttons contained in the alert view.
CancelButtonIndexnint. The index of the cancel button.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateIUIAlertViewDelegate. An instance of the UIKit.UIAlertViewDelegate model class which acts as the class delegate.
[read-only]
FirstOtherButtonIndexnint. The index of the first other button.
Messagestring. Detailed text shown below the title in the alert view.
ShouldEnableFirstOtherButtonUIAlertViewPredicate. Delegate invoked by the object to get a value.
Titlestring. A string shown in the title bar.
[read-only]
Visiblebool. Used to determine if the alert view is currently being displayed.
WeakDelegateFoundation.NSObject. An object that can respond to the delegate protocol for this type

Public Methods

AddButton(string) : nint
Adds a button to an alert view with the specified title.
static
AppearanceWhenContainedIn(params Type[]) : UIAlertView.UIAlertViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
ButtonTitle(nint) : string
Returns a button title by index.
DismissWithClickedButtonIndex(bool, nint)
Closes an alert view with an optional animation.
static
GetAppearance<T>() : UIAlertView.UIAlertViewAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UIAlertView.UIAlertViewAppearance
Documentation for this section has not yet been entered.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIAlertView.UIAlertViewAppearance
Documentation for this section has not yet been entered.
GetTextField(nint) : UITextField
Returns a text field for specified index.
Show()
Displays the alert view

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIAlertView object.

Public Events

CanceledEvent raised by the object.
ClickedEvent raised by the object.
DismissedEvent raised by the object.
PresentedEvent raised by the object.
WillDismissEvent raised by the object.
WillPresentEvent raised by the object.