Compartir a través de


Window.Container Property

Definition

Return the container for this Window. -or- Set the container for this window.

public Android.Views.Window? Container { [Android.Runtime.Register("getContainer", "()Landroid/view/Window;", "")] get; [Android.Runtime.Register("setContainer", "(Landroid/view/Window;)V", "GetSetContainer_Landroid_view_Window_Handler")] set; }
[<get: Android.Runtime.Register("getContainer", "()Landroid/view/Window;", "")>]
[<set: Android.Runtime.Register("setContainer", "(Landroid/view/Window;)V", "GetSetContainer_Landroid_view_Window_Handler")>]
member this.Container : Android.Views.Window with get, set

Property Value

Window The containing window, or null if this is a top-level window.

Attributes

Remarks

Property getter documentation:

Return the container for this Window.

Java documentation for android.view.Window.getContainer().

Property setter documentation:

Set the container for this window. If not set, the DecorWindow operates as a top-level window; otherwise, it negotiates with the container to display itself appropriately.

Java documentation for android.view.Window.setContainer(android.view.Window).

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