Partager via


ViewGroup.RequestDisallowInterceptTouchEvent(Boolean) Method

Definition

Called when a child does not want this parent and its ancestors to intercept touch events with OnInterceptTouchEvent(MotionEvent).

[Android.Runtime.Register("requestDisallowInterceptTouchEvent", "(Z)V", "GetRequestDisallowInterceptTouchEvent_ZHandler")]
public virtual void RequestDisallowInterceptTouchEvent (bool disallowIntercept);
[<Android.Runtime.Register("requestDisallowInterceptTouchEvent", "(Z)V", "GetRequestDisallowInterceptTouchEvent_ZHandler")>]
abstract member RequestDisallowInterceptTouchEvent : bool -> unit
override this.RequestDisallowInterceptTouchEvent : bool -> unit

Parameters

disallowIntercept
Boolean

True if the child does not want the parent to intercept touch events.

Implements

Attributes

Remarks

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