[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Radio.cs
index f8d8b93..903f9f4 100644 (file)
@@ -22,6 +22,7 @@ namespace ElmSharp
     /// 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;
@@ -31,6 +32,7 @@ namespace ElmSharp
         /// </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");
@@ -41,12 +43,14 @@ namespace ElmSharp
         /// 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
@@ -63,6 +67,7 @@ namespace ElmSharp
         /// 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
@@ -80,6 +85,7 @@ namespace ElmSharp
         /// </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)
@@ -95,6 +101,7 @@ namespace ElmSharp
         /// <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);