Android Guides | Samples

Android.App.Dialog Constructor

Creates a dialog window that uses the default dialog theme.

Syntax

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public Dialog (Context context)

Parameters

context

Remarks

Creates a dialog window that uses the default dialog theme.

The supplied context is used to obtain the window manager and base theme used to present the dialog.

[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