[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Check.cs
old mode 100755 (executable)
new mode 100644 (file)
index ae153d8..98f396c
@@ -19,8 +19,10 @@ using System;
 namespace ElmSharp
 {
     /// <summary>
-    /// The check is a widget allows for toggling a value between true and false.
+    /// The Check is a widget that allows for toggling a value between true and false.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class Check : Layout
     {
         private SmartEvent _changed;
@@ -30,8 +32,10 @@ namespace ElmSharp
         /// Creates and initializes a new instance of the Check class.
         /// </summary>
         /// <param name="parent">
-        /// The EvasObject to which the new Check will be attached as a child.
+        /// The EvasObject to which the new check will be attached as a child.
         /// </param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public Check(EvasObject parent) : base(parent)
         {
             _changed = new SmartEvent(this, this.RealHandle, "changed");
@@ -42,16 +46,20 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// StateChanged will be triggered when the IsChecked in the Check is changed.
+        /// StateChanged will be triggered when the IsChecked in the check is changed.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public event EventHandler<CheckStateChangedEventArgs> StateChanged;
 
         /// <summary>
-        /// Sets or gets whether the given Check is checked or not.
+        /// Sets or gets whether the given check is checked or not.
         /// </summary>
         /// <remarks>
-        /// When object is checked, the value will set to true, Conversely will set to false.
+        /// When an object is checked, the value will be set to true. Conversely, will be set to false.
         /// </remarks>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public bool IsChecked
         {
             get
@@ -65,6 +73,13 @@ namespace ElmSharp
             }
         }
 
+        /// <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);