語言

ViewGroup.RequestDisallowInterceptTouchEvent(Boolean) 方法

定義

當孩子不希望該父母及其祖先攔截與 的 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

參數

disallowIntercept
Boolean

如果孩子不希望父母攔截觸碰事件,這是真的。

實作

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於