ViewGroup.RequestDisallowInterceptTouchEvent(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當孩子不希望該父母及其祖先攔截與 的 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。