Udostępnij za pośrednictwem


Window.Attributes Property

Definition

Retrieve the current window attributes associated with this panel. -or- Specify custom window attributes.

public Android.Views.WindowManagerLayoutParams? Attributes { [Android.Runtime.Register("getAttributes", "()Landroid/view/WindowManager$LayoutParams;", "")] get; [Android.Runtime.Register("setAttributes", "(Landroid/view/WindowManager$LayoutParams;)V", "GetSetAttributes_Landroid_view_WindowManager_LayoutParams_Handler")] set; }
[<get: Android.Runtime.Register("getAttributes", "()Landroid/view/WindowManager$LayoutParams;", "")>]
[<set: Android.Runtime.Register("setAttributes", "(Landroid/view/WindowManager$LayoutParams;)V", "GetSetAttributes_Landroid_view_WindowManager_LayoutParams_Handler")>]
member this.Attributes : Android.Views.WindowManagerLayoutParams with get, set

Property Value

WindowManager.LayoutParams Either the existing window attributes object, or a freshly created one if there is none.

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Java documentation for android.view.Window.setAttributes(android.view.LayoutParams).

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