Udostępnij za pośrednictwem


Dialog.Window Property

Definition

Retrieve the current Window for the activity.

public virtual Android.Views.Window? Window { [Android.Runtime.Register("getWindow", "()Landroid/view/Window;", "GetGetWindowHandler")] get; }
[<get: Android.Runtime.Register("getWindow", "()Landroid/view/Window;", "GetGetWindowHandler")>]
member this.Window : Android.Views.Window

Property Value

Window The current window, or null if the activity is not visual.

Attributes

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.

Java documentation for android.app.Dialog.getWindow().

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