共用方式為


UIActionSheetDelegate_Extensions 類別

定義

介面的 IUIActionSheetDelegate 擴充方法,以支援通訊 UIActionSheetDelegate 協定中的所有方法。

public static class UIActionSheetDelegate_Extensions
type UIActionSheetDelegate_Extensions = class
繼承
UIActionSheetDelegate_Extensions

備註

IUIActionSheetDelegate 擴充方法可讓開發人員將介面的實例視為具有原始 UIActionSheetDelegate 通訊協定的所有選擇性方法。 由於介面只包含必要的成員,這些擴充方法可讓開發人員呼叫通訊協定的選擇性成員。

方法

Canceled(IUIActionSheetDelegate, UIActionSheet)

表示 UIActionSheet 已取消。

Clicked(IUIActionSheetDelegate, UIActionSheet, nint)

表示已按一下 buttonIndex 上的按鈕。

Dismissed(IUIActionSheetDelegate, UIActionSheet, nint)

表示動作已從畫面關閉,因為按鈕在 buttonIndex 上按下。

Presented(IUIActionSheetDelegate, UIActionSheet)

表示動作表已向使用者呈現。

WillDismiss(IUIActionSheetDelegate, UIActionSheet, nint)

表示動作表很快就會關閉,因為按下 buttonIndex 上的按鈕。

WillPresent(IUIActionSheetDelegate, UIActionSheet)

表示即將呈現動作表。

適用於