From 52b2f68b8a5e3d58b06b50df895d27239893c707 Mon Sep 17 00:00:00 2001 From: "Jinho, Lee" Date: Tue, 1 Aug 2017 01:30:23 +0900 Subject: [PATCH] Remove Visible property in View. - Visble and Visibility was same property. Change-Id: Ibf6a052d4850f79939f6d7759935800decd30af6 --- Tizen.NUI/src/public/BaseComponents/View.cs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Tizen.NUI/src/public/BaseComponents/View.cs b/Tizen.NUI/src/public/BaseComponents/View.cs index b269e05..348f499 100755 --- a/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/Tizen.NUI/src/public/BaseComponents/View.cs @@ -1853,7 +1853,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 { @@ -3254,18 +3255,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