[NUI] Add DisallowInterceptTouchEvent (#2109)
authorJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Thu, 29 Oct 2020 06:52:38 +0000 (15:52 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 4 Nov 2020 08:17:17 +0000 (17:17 +0900)
commit3eab8626242e24670286bcd6515134999d57cbda
tree1be8e3464119b001979fabd37249f6b402fc0877
parent0ad3249041b4bbf5ad33164ff2233f9bcc1d8c1b
[NUI] Add DisallowInterceptTouchEvent (#2109)

If child view doesn't want the parent's view to intercept the touch, you can set it to true.
 for example :
    parent.Add(child);
    parent.InterceptTouchEvent += OnInterceptTouchEvent;
    View view = child.GetParent() as View;
    view.DisallowInterceptTouchEvent = true;
 This prevents the parent from interceping touch.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs