[Tizen] Remove Visible propert in View.
authorJinho, Lee <jeano.lee@samsung.com>
Mon, 31 Jul 2017 16:30:23 +0000 (01:30 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Tue, 1 Aug 2017 04:08:42 +0000 (13:08 +0900)
 - Visble and Visibility was same property.

Change-Id: Ibf6a052d4850f79939f6d7759935800decd30af6

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

index d220a7e..391dc41 100755 (executable)
@@ -1703,7 +1703,8 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        public bool Visibility
+        [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")]
+        public bool Visible
         {
             get
             {
@@ -3215,18 +3216,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>