次の方法で共有


UIActionSheetDelegate_Extensions クラス

定義

プロトコルからUIActionSheetDelegateのすべてのメソッドをIUIActionSheetDelegateサポートする インターフェイスへの拡張メソッド。

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)

アクション シートが表示されようとしていることを示します。

適用対象