[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Radio.cs
index dec0c58..903f9f4 100644 (file)
@@ -18,18 +18,39 @@ using System;
 
 namespace ElmSharp
 {
+    /// <summary>
+    /// The Radio is a widget that allows for 1 or more options to be displayed, and have the user choose only 1 of them.
+    /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class Radio : Layout
     {
         SmartEvent _changed;
 
+        /// <summary>
+        /// Creates and initializes a new instance of the Radio class.
+        /// </summary>
+        /// <param name="parent">The EvasObject to which the new Radio will be attached as a child.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public Radio(EvasObject parent) : base(parent)
         {
             _changed = new SmartEvent(this, this.RealHandle, "changed");
             _changed.On += (s, e) => ValueChanged?.Invoke(this, EventArgs.Empty);
         }
 
+        /// <summary>
+        /// ValueChanged will be triggered when value of the radio changes.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public event EventHandler ValueChanged;
 
+        /// <summary>
+        /// Sets or gets a unique value to each radio button.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public int StateValue
         {
             get
@@ -42,6 +63,11 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Sets or gets the value of the radio group.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public int GroupValue
         {
             get
@@ -54,6 +80,12 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Adds this radio to a group of other radio objects.
+        /// </summary>
+        /// <param name="group">Group which add radio in.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public void SetGroup(Radio group)
         {
             if (group == null)
@@ -63,6 +95,13 @@ namespace ElmSharp
             Interop.Elementary.elm_radio_group_add(RealHandle, group.RealHandle);
         }
 
+        /// <summary>
+        /// Creates a widget handle.
+        /// </summary>
+        /// <param name="parent">Parent EvasObject.</param>
+        /// <returns>Handle IntPtr.</returns>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);