IDialogInterfaceOnCancelListener.OnCancel(IDialogInterface) Method

Definition

This method will be invoked when the dialog is canceled.

[Android.Runtime.Register("onCancel", "(Landroid/content/DialogInterface;)V", "GetOnCancel_Landroid_content_DialogInterface_Handler:Android.Content.IDialogInterfaceOnCancelListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnCancel (Android.Content.IDialogInterface? dialog);
[<Android.Runtime.Register("onCancel", "(Landroid/content/DialogInterface;)V", "GetOnCancel_Landroid_content_DialogInterface_Handler:Android.Content.IDialogInterfaceOnCancelListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnCancel : Android.Content.IDialogInterface -> unit

Parameters

dialog
IDialogInterface

the dialog that was canceled will be passed into the method

Attributes

Remarks

This method will be invoked when the dialog is canceled.

Java documentation for android.content.DialogInterface.OnCancelListener.onCancel(android.content.DialogInterface).

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