[Tizen] Remove Visible propert in View. 05/144105/1
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 09:41:44 +0000 (18:41 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 09:41:44 +0000 (18:41 +0900)
This reverts commit 9b040bb922f3c7c8529214779ccaa5aafea638f3.

Change-Id: I19cb634443e9d378600cc8cf24d38da3c6880783

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

index d96e0f4..acb9cd9 100755 (executable)
@@ -1861,7 +1861,19 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        public bool Visibility
+        /// <summary>
+        /// Retrieves the view's parent.<br>
+        /// </summary>
+        public View Parent
+        {
+            get
+            {
+                return GetParent();
+            }
+        }
+
+        [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")]
+        public bool Visible
         {
             get
             {
@@ -3327,18 +3339,14 @@ 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 Visible
+        public bool Visibility
         {
             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>