Since `SelectGroup.ItemGroup` is initialized in `SelectGroup` constructor, it
should not be assigned by api user.
Also, this fixes `CA2227: Collection properties should be read only`.
https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2227?view=vs-2019
[EditorBrowsable(EditorBrowsableState.Never)]
public abstract class SelectGroup
{
[EditorBrowsable(EditorBrowsableState.Never)]
public abstract class SelectGroup
{
- private List<SelectButton> itemGroup;
-
/// <summary> Selection group composed of items </summary>
/// <since_tizen> 6 </since_tizen>
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
/// <summary> Selection group composed of items </summary>
/// <since_tizen> 6 </since_tizen>
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- protected List<SelectButton> ItemGroup { get => itemGroup; set => itemGroup = value; }
+ protected List<SelectButton> ItemGroup { get; }
private int selectedIndex;
private int selectedIndex;