Android Guides | Samples

Android.App.Dialog.Window Property

Retrieve the current Window for the activity.

Syntax

[get: Android.Runtime.Register("getWindow", "()Landroid/view/Window;", "GetGetWindowHandler")]
public virtual Window Window { get; }

Remarks

Retrieve the current Window for the activity. This can be used to directly access parts of the Window API that are not available through Activity/Screen.

[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