[NUI] Add DisallowInterceptTouchEvent (#2109)
authorJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Thu, 29 Oct 2020 06:52:38 +0000 (15:52 +0900)
committerGitHub <noreply@github.com>
Thu, 29 Oct 2020 06:52:38 +0000 (15:52 +0900)
commit0029e8356217c142240f739e49d3fb7cd77795d8
tree0258a50eb96fc4184256afe0ba56880753022107
parentee9dae11578b14013f28cf1d102b3a948d4f62a4
[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