Share via


PopupWindow.OverlapAnchor Property

Definition

Returns whether the popup window should overlap its anchor view when displayed as a drop-down. -or- Sets whether the popup window should overlap its anchor view when displayed as a drop-down.

public virtual bool OverlapAnchor { [Android.Runtime.Register("getOverlapAnchor", "()Z", "GetGetOverlapAnchorHandler", ApiSince=23)] get; [Android.Runtime.Register("setOverlapAnchor", "(Z)V", "GetSetOverlapAnchor_ZHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getOverlapAnchor", "()Z", "GetGetOverlapAnchorHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setOverlapAnchor", "(Z)V", "GetSetOverlapAnchor_ZHandler", ApiSince=23)>]
member this.OverlapAnchor : bool with get, set

Property Value

Whether the popup should overlap its anchor.

Attributes

Remarks

Property getter documentation:

Returns whether the popup window should overlap its anchor view when displayed as a drop-down.

Java documentation for android.widget.PopupWindow.getOverlapAnchor().

Property setter documentation:

Sets whether the popup window should overlap its anchor view when displayed as a drop-down.

If the popup is showing, calling this method will take effect only the next time the popup is shown.

Java documentation for android.widget.PopupWindow.setOverlapAnchor(boolean).

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