編輯

共用方式為


IUIAlertViewDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UIAlertViewDelegate.

[Foundation.Protocol(Name="UIAlertViewDelegate", WrapperType=typeof(UIKit.UIAlertViewDelegateWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public interface IUIAlertViewDelegate : IDisposable, ObjCRuntime.INativeObject
type IUIAlertViewDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIAlertViewDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIAlertViewDelegate protocol.

Optional methods (if any) are provided by the UIAlertViewDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

Canceled(IUIAlertViewDelegate, UIAlertView)

Indicates that this UIAlertView is about to be canceled.

Clicked(IUIAlertViewDelegate, UIAlertView, nint)

Indicates that the user has clicked a button in this UIAlertView.

Dismissed(IUIAlertViewDelegate, UIAlertView, nint)

Indicates that this UIAlertView has been dismissed.

Presented(IUIAlertViewDelegate, UIAlertView)

Indicates that this UIAlertView has been presented to the application user.

ShouldEnableFirstOtherButton(IUIAlertViewDelegate, UIAlertView)

Whether the first non-cancel button in this UIAlertView should be enabled.

WillDismiss(IUIAlertViewDelegate, UIAlertView, nint)

Indicates that this UIAlertView will shortly be dismissed.

WillPresent(IUIAlertViewDelegate, UIAlertView)

Indicates that this UIAlertView will shortly be presented to the application user.

Applies to