[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Radio.cs
old mode 100755 (executable)
new mode 100644 (file)
index 9a5f2d5..903f9f4
@@ -19,8 +19,10 @@ 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.
+    /// 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;
@@ -29,6 +31,8 @@ namespace ElmSharp
         /// 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");
@@ -36,13 +40,17 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// ValueChanged will be triggered when value of Radio change.
+        /// 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.
+        /// 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
@@ -58,6 +66,8 @@ 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
@@ -74,6 +84,8 @@ namespace ElmSharp
         /// 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)
@@ -83,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);