Sdílet prostřednictvím


ListPopupWindow.Modal Property

Definition

Returns whether the popup window will be modal when shown. -or- Set whether this window should be modal when shown.

public virtual bool Modal { [Android.Runtime.Register("isModal", "()Z", "GetIsModalHandler")] get; [Android.Runtime.Register("setModal", "(Z)V", "GetSetModal_ZHandler")] set; }
[<get: Android.Runtime.Register("isModal", "()Z", "GetIsModalHandler")>]
[<set: Android.Runtime.Register("setModal", "(Z)V", "GetSetModal_ZHandler")>]
member this.Modal : bool with get, set

Property Value

true if the popup window will be modal, false otherwise.

Attributes

Remarks

Property getter documentation:

Returns whether the popup window will be modal when shown.

Java documentation for android.widget.ListPopupWindow.isModal().

Property setter documentation:

Set whether this window should be modal when shown.

If a popup window is modal, it will receive all touch and key input. If the user touches outside the popup window's content area the popup window will be dismissed.

Java documentation for android.widget.ListPopupWindow.setModal(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