[NUI] Add SelectedChanged event to the SelectGroup and etc. (#3221)
authorJiyun Yang <ji.yang@samsung.com>
Tue, 29 Jun 2021 05:33:11 +0000 (14:33 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 29 Jun 2021 06:46:52 +0000 (15:46 +0900)
commit0f8b73a6369635f694fa09589e25ba8cdf0ae57b
treef0402855058a1fd4a5ade0d05f36a38411266e20
parentc8e21eb892a873cfadbd10b70bf979720ea0de0e
[NUI] Add SelectedChanged event to the SelectGroup and etc. (#3221)

* Fix default SelectGroup.SelectedIndex value to -1.
* Add event SelectGroup.SelectedChanged.
* Add method SelectGroup.AddAllToView().
* Add method RadioButtonGroup.GetSelectedItem().
* Add attached property RadioButtonGroup.IsGroupHolder. View can make a RadioButtonGroup for its radio button children.
```xaml
<View RadioButtonGroup.IsGroupHolder="true">
  <RadioButton Text="1"/>
  <RadioButton Text="2"/>
</View>
```

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Controls/RadioButtonGroup.cs
src/Tizen.NUI.Components/Controls/SelectButton.cs
src/Tizen.NUI.Components/Controls/SelectGroup.cs
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs