Dialog.SetOnCancelListener(IDialogInterfaceOnCancelListener) Dialog.SetOnCancelListener(IDialogInterfaceOnCancelListener) Method

Definition

Set a listener to be invoked when the dialog is canceled.

[Android.Runtime.Register("setOnCancelListener", "(Landroid/content/DialogInterface$OnCancelListener;)V", "GetSetOnCancelListener_Landroid_content_DialogInterface_OnCancelListener_Handler")]
public virtual void SetOnCancelListener (Android.Content.IDialogInterfaceOnCancelListener listener);
abstract member SetOnCancelListener : Android.Content.IDialogInterfaceOnCancelListener -> unit
override this.SetOnCancelListener : Android.Content.IDialogInterfaceOnCancelListener -> unit

Parameters

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