From: minho.sun Date: Mon, 14 Aug 2017 09:41:44 +0000 (+0900) Subject: [Tizen] Remove Visible propert in View. X-Git-Tag: preview1-00180^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad0f7c2aaac217c5a567dca4b4966f62d1a6e811;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen] Remove Visible propert in View. This reverts commit 9b040bb922f3c7c8529214779ccaa5aafea638f3. Change-Id: I19cb634443e9d378600cc8cf24d38da3c6880783 --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index d96e0f4..acb9cd9 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -1861,7 +1861,19 @@ namespace Tizen.NUI.BaseComponents } } - public bool Visibility + /// + /// Retrieves the view's parent.
+ ///
+ 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. /// - 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)); - }*/ + } } ///