[NUI] Fix to change IsSelected when ControlState is changed
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 20 Jul 2022 08:11:45 +0000 (17:11 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Mon, 25 Jul 2022 08:33:12 +0000 (17:33 +0900)
commit1397fdeb4e177caf5b4a38384cc4112fcd5b4c7b
tree96838f9e6e02ccbc8b1d002a84e376af6edd7bed
parentaf2be7f0efeb56bee6337a1d8db1a68139b4d73b
[NUI] Fix to change IsSelected when ControlState is changed

Previously, IsSelected property was not changed when its ControlState
was changed between Normal and Selected.

Now, IsSelected property is also changed when ControlState is changed.
So, SelectedChanged event's IsSelected is synchronized with its look.
src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/RecyclerView/Item/RecyclerViewItem.Internal.cs
src/Tizen.NUI.Components/Controls/SelectButton.cs
src/Tizen.NUI.Components/Controls/Switch.cs
test/Tizen.NUI.StyleGuide/Examples/DefaultLinearItemExample.cs