Partager via


ViewGroup.TouchscreenBlocksFocus Property

Definition

Check whether this ViewGroup should ignore focus requests for itself and its children. -or- Set whether this ViewGroup should ignore focus requests for itself and its children.

public virtual bool TouchscreenBlocksFocus { [Android.Runtime.Register("getTouchscreenBlocksFocus", "()Z", "GetGetTouchscreenBlocksFocusHandler")] get; [Android.Runtime.Register("setTouchscreenBlocksFocus", "(Z)V", "GetSetTouchscreenBlocksFocus_ZHandler")] set; }
[<get: Android.Runtime.Register("getTouchscreenBlocksFocus", "()Z", "GetGetTouchscreenBlocksFocusHandler")>]
[<set: Android.Runtime.Register("setTouchscreenBlocksFocus", "(Z)V", "GetSetTouchscreenBlocksFocus_ZHandler")>]
member this.TouchscreenBlocksFocus : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Check whether this ViewGroup should ignore focus requests for itself and its children.

Java documentation for android.view.ViewGroup.getTouchscreenBlocksFocus().

Property setter documentation:

Set whether this ViewGroup should ignore focus requests for itself and its children. If this option is enabled and the ViewGroup or a descendant currently has focus, focus will proceed forward.

Java documentation for android.view.ViewGroup.setTouchscreenBlocksFocus(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