[NUI] Add Selector constructor with SelectorChangedCallback internally (#1862)
authorjaehyun0cho <jaehyun0cho@gmail.com>
Thu, 6 Aug 2020 06:02:23 +0000 (15:02 +0900)
committerGitHub <noreply@github.com>
Thu, 6 Aug 2020 06:02:23 +0000 (15:02 +0900)
commit8527701bf57a40fa56a96378b962bd1ca3f10d90
treeb999791702be97858fe756370b4f2af5c5fbd4a1
parent1cc28b5eddc942ef5d420e4dec7f5e9d412e35af
[NUI] Add Selector constructor with SelectorChangedCallback internally (#1862)

To track property changes of Selector class, Selector constructor with
SelectorChangedCallback is added internally.

This is the same method applied to Color class.

By using this constructor, ColorSelector class also tracks property
changes internally.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
src/Tizen.NUI.Components/Utils/Selector.cs
src/Tizen.NUI/src/public/BaseComponents/Style/Selector.cs