DialogFragment.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")]
public virtual void OnCancel (Android.Content.IDialogInterface? dialog);
[<Android.Runtime.Register("onCancel", "(Landroid/content/DialogInterface;)V", "GetOnCancel_Landroid_content_DialogInterface_Handler")>]
abstract member OnCancel : Android.Content.IDialogInterface -> unit
override this.OnCancel : Android.Content.IDialogInterface -> unit

Parameters

dialog
IDialogInterface

The dialog that was canceled will be passed into the method.

Implements

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