Android Guides | Samples

Android.App.Dialog.Context Property

Retrieve the Context this Dialog is running in.

Syntax

[get: Android.Runtime.Register("getContext", "()Landroid/content/Context;", "GetGetContextHandler")]
public Context Context { get; }

Remarks

Retrieve the Context this Dialog is running in.

[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