Android Guides | Samples

Android.App.Dialog.Dismiss Method

Dismiss this dialog, removing it from the screen.

Syntax

[Android.Runtime.Register("dismiss", "()V", "GetDismissHandler")]
public virtual Void Dismiss ()

Remarks

Dismiss this dialog, removing it from the screen. This method can be invoked safely from any thread. Note that you should not override this method to do cleanup when the dialog is dismissed, instead implement that in Dialog.OnStop.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1