UIKit.UIActionSheet Members

The members of UIKit.UIActionSheet 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 UIActionSheet with the specified frame.
A constructor that initializes the object from the data stored in the unarchiver object.
Initialize an UIKit.UIActionSheet with a title.
Initialize an UIKit.UIActionSheet with a title and a delegate that will handle taps.
Intitialize a UIKit.UIActionSheet instance.

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

[read-only]
static
AppearanceUIActionSheet.UIActionSheetAppearance. Strongly-typed property that returns the UIAppearance class for this class.
[read-only]
ButtonCountnint. The number of buttons on an action sheet. (read only)
CancelButtonIndexnint. Returns the index of the cancel button.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateIUIActionSheetDelegate. An instance of the UIKit.UIActionSheetDelegate model class which acts as the class delegate.
DestructiveButtonIndexnint. Returns the index of the destructive button.
[read-only]
FirstOtherButtonIndexnint. The index of the first custom button. Read-only.
StyleUIActionSheetStyle. The presentation style of this UIActionSheet.
Titlestring. The title that will be displayed in the action sheet.
[read-only]
Visiblebool. A property indicating if the action sheet is displayed.
WeakDelegateFoundation.NSObject. An object that can respond to the delegate protocol for this type

Public Methods

Add(string)
Adds a button with the specified text.
AddButton(string) : nint
This method will add a custom button to an action sheet.
static
AppearanceWhenContainedIn(params Type[]) : UIActionSheet.UIActionSheetAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
ButtonTitle(nint) : string
Retrieves the title of a button at a specified index.
DismissWithClickedButtonIndex(bool, nint)
Will dismiss the action sheet, optionally animated if specified.
static
GetAppearance<T>() : UIActionSheet.UIActionSheetAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UIActionSheet.UIActionSheetAppearance
Documentation for this section has not yet been entered.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIActionSheet.UIActionSheetAppearance
Documentation for this section has not yet been entered.
GetEnumerator() : IEnumerator
Obtains an enumerator that returns the button titles.
ShowFrom(UIBarButtonItem, bool)
Displays an action sheet from a bar button.
ShowFrom(UIView, bool, CoreGraphics.CGRect)
This method will display an action sheet, originating from the specified area on a view.
ShowFromTabBar(UITabBar)
Shows the UIActionSheet from the specified UITabBar.
ShowFromToolbar(UIToolbar)
This will display an action sheet, originate from the specified tab bar.
ShowInView(UIView)
Displays an action sheet in a specified view.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIActionSheet 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.