[NUI] Remove [Obsolete()] attribute
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Size2D.cs
index 075b066..2b93f34 100755 (executable)
@@ -72,8 +72,18 @@ namespace Tizen.NUI
         /// <summary>
         /// The property for the width component of a size.
         /// </summary>
+        /// <remarks>
+        /// The setter is deprecated in API8 and will be removed in API10. Please use new Size2D(...) constructor.
+        /// </remarks>
+        /// <code>
+        /// // DO NOT use like the followings!
+        /// Size2D size2d = new Size2D();
+        /// size2d.Width = 1; 
+        /// // Please USE like this
+        /// int width = 1, height = 2;
+        /// Size2D size2d = new Size2D(width, height);
+        /// </code>
         /// <since_tizen> 3 </since_tizen>
-        [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size2D(...) constructor")]
         public int Width
         {
             set
@@ -96,8 +106,18 @@ namespace Tizen.NUI
         /// <summary>
         /// The property for the height component of a size.
         /// </summary>
+        /// <remarks>
+        /// The setter is deprecated in API8 and will be removed in API10. Please use new Size2D(...) constructor.
+        /// </remarks>
+        /// <code>
+        /// // DO NOT use like the followings!
+        /// Size2D size2d = new Size2D();
+        /// size2d.Height = 2; 
+        /// // Please USE like this
+        /// int width = 1, height = 2;
+        /// Size2D size2d = new Size2D(width, height);
+        /// </code>
         /// <since_tizen> 3 </since_tizen>
-        [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size2D(...) constructor")]
         public int Height
         {
             set