Compartilhar via


PopupWindow.Touchable Property

Definition

Indicates whether the popup window receives touch events. -or- Changes the touchability of the popup window.

public virtual bool Touchable { [Android.Runtime.Register("isTouchable", "()Z", "GetIsTouchableHandler")] get; [Android.Runtime.Register("setTouchable", "(Z)V", "GetSetTouchable_ZHandler")] set; }
[<get: Android.Runtime.Register("isTouchable", "()Z", "GetIsTouchableHandler")>]
[<set: Android.Runtime.Register("setTouchable", "(Z)V", "GetSetTouchable_ZHandler")>]
member this.Touchable : bool with get, set

Property Value

true if the popup is touchable, false otherwise

Attributes

Remarks

Property getter documentation:

Indicates whether the popup window receives touch events.

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

Property setter documentation:

Changes the touchability of the popup window. When touchable, the window will receive touch events, otherwise touch events will go to the window below it. By default the window is touchable.

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.setTouchable(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