From ad0f7c2aaac217c5a567dca4b4966f62d1a6e811 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Mon, 14 Aug 2017 18:41:44 +0900 Subject: [PATCH] [Tizen] Remove Visible propert in View. This reverts commit 9b040bb922f3c7c8529214779ccaa5aafea638f3. Change-Id: I19cb634443e9d378600cc8cf24d38da3c6880783 --- src/Tizen.NUI/src/public/BaseComponents/View.cs | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) 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)); - }*/ + } } /// -- 2.7.4