次の方法で共有


AlertDialog.Builder.SetOnCancelListener Method

Definition

Sets the callback that will be called if the dialog is canceled.

[Android.Runtime.Register("setOnCancelListener", "(Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/AlertDialog$Builder;", "GetSetOnCancelListener_Landroid_content_DialogInterface_OnCancelListener_Handler")]
public virtual Android.App.AlertDialog.Builder SetOnCancelListener (Android.Content.IDialogInterfaceOnCancelListener onCancelListener);
[<Android.Runtime.Register("setOnCancelListener", "(Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/AlertDialog$Builder;", "GetSetOnCancelListener_Landroid_content_DialogInterface_OnCancelListener_Handler")>]
abstract member SetOnCancelListener : Android.Content.IDialogInterfaceOnCancelListener -> Android.App.AlertDialog.Builder
override this.SetOnCancelListener : Android.Content.IDialogInterfaceOnCancelListener -> Android.App.AlertDialog.Builder

Parameters

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also