Share via


IUIActionSheetDelegate Interface

Definition

A class used to receive notifications from a UIActionSheet.

[Foundation.Protocol(Name="UIActionSheetDelegate", WrapperType=typeof(UIKit.UIActionSheetDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Clicked", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet), typeof(System.IntPtr) }, Selector="actionSheet:clickedButtonAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Canceled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet) }, Selector="actionSheetCancel:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet) }, Selector="willPresentActionSheet:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Presented", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet) }, Selector="didPresentActionSheet:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismiss", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet), typeof(System.IntPtr) }, Selector="actionSheet:willDismissWithButtonIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Dismissed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet), typeof(System.IntPtr) }, Selector="actionSheet:didDismissWithButtonIndex:")]
public interface IUIActionSheetDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIActionSheetDelegate", WrapperType=typeof(UIKit.UIActionSheetDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Clicked", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet), typeof(System.IntPtr) }, Selector="actionSheet:clickedButtonAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Canceled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet) }, Selector="actionSheetCancel:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet) }, Selector="willPresentActionSheet:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Presented", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet) }, Selector="didPresentActionSheet:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismiss", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet), typeof(System.IntPtr) }, Selector="actionSheet:willDismissWithButtonIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Dismissed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIActionSheet), typeof(System.IntPtr) }, Selector="actionSheet:didDismissWithButtonIndex:")>]
type IUIActionSheetDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A strongly typed implementation of a class that can be used to respond to events raised by the UIActionSheet.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
Canceled(UIActionSheet)

Indicates that the UIActionSheet was canceled.

Clicked(UIActionSheet, IntPtr)

Indicates that the button at the buttonIndex was clicked.

Dismissed(UIActionSheet, IntPtr)

Indicates that the action was dismissed from the screen due to pushing of the button at buttonIndex.

Presented(UIActionSheet)

Indicates that the action sheet was presented to the user.

WillDismiss(UIActionSheet, IntPtr)

Indicates that the action sheet will shortly be dismissed due to pushing of the button at buttonIndex.

WillPresent(UIActionSheet)

Indicates that the action sheet is about to be presented.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
Canceled(IUIActionSheetDelegate, UIActionSheet)

Indicates that the UIActionSheet was canceled.

Clicked(IUIActionSheetDelegate, UIActionSheet, IntPtr)

Indicates that the button at the buttonIndex was clicked.

Dismissed(IUIActionSheetDelegate, UIActionSheet, IntPtr)

Indicates that the action was dismissed from the screen due to pushing of the button at buttonIndex.

Presented(IUIActionSheetDelegate, UIActionSheet)

Indicates that the action sheet was presented to the user.

WillDismiss(IUIActionSheetDelegate, UIActionSheet, IntPtr)

Indicates that the action sheet will shortly be dismissed due to pushing of the button at buttonIndex.

WillPresent(IUIActionSheetDelegate, UIActionSheet)

Indicates that the action sheet is about to be presented.

Applies to

See also