Revert "[Tizen] Remove Visible propert in View."
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 07:47:18 +0000 (16:47 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 07:47:20 +0000 (16:47 +0900)
This reverts commit aaed4e54faabc870cd1ce8a4303f3ca467b32cfb.

Change-Id: I7d9e668d73920293ba296a2f7ffe300558ca5280

src/Tizen.NUI/src/public/BaseComponents/View.cs

index cedb4d0..c189ae9 100755 (executable)
@@ -1710,8 +1710,7 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")]
-        public bool Visible
+        public bool Visibility
         {
             get
             {
@@ -3233,14 +3232,18 @@ namespace Tizen.NUI.BaseComponents
         /// If an view is not visible, then the view and its children will not be rendered.
         /// This is regardless of the individual visibility values of the children i.e.an view will only be rendered if all of its parents have visibility set to true.
         /// </remarks>
-        public bool Visibility
+        public bool Visible
         {
             get
             {
                 bool temp = false;
                 GetProperty(View.Property.VISIBLE).Get(out temp);
                 return temp;
-            }
+            }/* only get is required : removed
+            set
+            {
+                SetProperty(View.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
+            }*/
         }
 
         /// <summary>