PopupWindow.ClippingEnabled Property

Definition

Indicates whether clipping of the popup window is enabled. -or- Allows the popup window to extend beyond the bounds of the screen.

public virtual bool ClippingEnabled { [Android.Runtime.Register("isClippingEnabled", "()Z", "GetIsClippingEnabledHandler")] get; [Android.Runtime.Register("setClippingEnabled", "(Z)V", "GetSetClippingEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isClippingEnabled", "()Z", "GetIsClippingEnabledHandler")>]
[<set: Android.Runtime.Register("setClippingEnabled", "(Z)V", "GetSetClippingEnabled_ZHandler")>]
member this.ClippingEnabled : bool with get, set

Property Value

true if the clipping is enabled, false otherwise

Attributes

Remarks

Property getter documentation:

Indicates whether clipping of the popup window is enabled.

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

Property setter documentation:

Allows the popup window to extend beyond the bounds of the screen. By default the window is clipped to the screen boundaries. Setting this to false will allow windows to be accurately positioned.

If the popup is showing, calling this method will take effect only the next time the popup is shown or through a manual call to one of the #update() methods.

Java documentation for android.widget.PopupWindow.setClippingEnabled(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

See also