From: xb.teng Date: Fri, 4 Aug 2017 14:37:18 +0000 (+0800) Subject: [Tizen] Add obsolete attribute for Create property of VisualBase, X-Git-Tag: preview1-00180^2~98^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8305dc6193e695f2f1d3cb0f2c2f8cdbf8018fed;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen] Add obsolete attribute for Create property of VisualBase, backward compatibility Change-Id: Ica9ffb7d837c551df9f44fd3f620fe575ebfc303 --- diff --git a/src/Tizen.NUI/src/public/VisualBase.cs b/src/Tizen.NUI/src/public/VisualBase.cs index c360462..eb7829f 100755 --- a/src/Tizen.NUI/src/public/VisualBase.cs +++ b/src/Tizen.NUI/src/public/VisualBase.cs @@ -185,8 +185,13 @@ namespace Tizen.NUI /// /// Create the property map representing this visual. /// + [Obsolete("Please be caution! this will be readonly.")] public PropertyMap Creation { + set + { + CreatePropertyMap(value); + } get { PropertyMap map = new PropertyMap(); @@ -194,6 +199,7 @@ namespace Tizen.NUI return map; } } + internal void CreatePropertyMap(PropertyMap map) { NDalicPINVOKE.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map));