[NUI] Enable selectors work in View : EnableControlState (#1851)
authorJiyun Yang <ji.yang@samsung.com>
Fri, 24 Jul 2020 01:47:19 +0000 (10:47 +0900)
committerGitHub <noreply@github.com>
Fri, 24 Jul 2020 01:47:19 +0000 (10:47 +0900)
commit5917c8c5580131456d12bb85e854f645363e5062
tree12c2bffc6265778ba73ce4f89da6194eb92a7fbc
parenta89e64d85043b887ba56660582fb45b19424bb30
[NUI] Enable selectors work in View : EnableControlState (#1851)

* Previously, the View did not support ControlState so that selector values are not applied to the View.
* Introduce a new property EnableControlState.
  If this property is set to true, the View can have a touch related ControlState (such as Pressed) when touch.
  By default, it is false in View, true in Control.
  Note that if the value is true, the View will be a touch receptor.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/Button.cs
src/Tizen.NUI.Components/Controls/Control.cs
src/Tizen.NUI.Components/Controls/SelectButton.cs
src/Tizen.NUI/src/public/BaseComponents/ControlState.cs
src/Tizen.NUI/src/public/BaseComponents/Style/ViewStyle.cs
src/Tizen.NUI/src/public/BaseComponents/Style/ViewStyleBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs